버텍스 데이터가 저장되는 내부 버퍼입니다.
버텍스 데이터 구조를 반환합니다.
stride(버텍스 당 바이트 수)를 반환합니다.
삼각형 개수를 반환합니다.
버텍스 개수를 반환합니다.
버텍스 버퍼의 데이터를 변경합니다.
새로운 버텍스 데이터 (Array
Optional
interleavedStruct: VertexInterleavedStruct버텍스 데이터 구조 정의(옵션)
버텍스 버퍼의 전체 데이터를 GPU에 다시 업로드합니다.
새로운 버텍스 데이터 (Array
버텍스 버퍼의 일부 데이터를 오프셋부터 업데이트합니다.
새로운 버텍스 데이터 (Array
업데이트 시작 오프셋(기본값: 0)
VertexBuffer 생성자
RedGPUContext 인스턴스
버텍스 데이터 (Array
버텍스 데이터 구조 정의
GPUBufferUsageFlags (기본값: VERTEX | COPY_DST | STORAGE)
버퍼 캐시 키(옵션)
Retrieves the GPU device associated with the current instance.
The GPU device.
Retrieves the UUID of the object.
The UUID of the object.
Adds a listener function to the dirty pipeline listeners array. This function will be called when the pipeline becomes dirty.
The listener function to be added.
Fires the dirty listeners list.
Optional
resetList: boolean = falseIndicates whether to reset the dirty listeners list after firing.
Removes a dirty pipeline listener from the list of listeners.
The listener function to be removed.
VertexBuffer