Geometry 인스턴스를 생성합니다.
RedGPUContext 인스턴스
정점 버퍼
OptionalindexBuffer: IndexBuffer인덱스 버퍼(선택)
Retrieves the GPU device associated with the current instance.
The GPU device.
인덱스 버퍼 반환
Retrieves the RedGPUContext instance.
The RedGPUContext instance.
Retrieves the UUID of the object.
The UUID of the object.
정점 버퍼 반환
정점 버퍼 기준 AABB(경계 상자) 반환 최초 접근 시 계산 후 캐싱, 버퍼 변경 시 자동 갱신
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.
OptionalresetList: 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.
Geometry 클래스는 정점 버퍼(VertexBuffer)와 인덱스 버퍼(IndexBuffer)를 관리하며, GPU 렌더링에 필요한 정보를 제공하는 역할을 합니다.