RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Class Geometry

    Geometry 클래스는 정점 버퍼(VertexBuffer)와 인덱스 버퍼(IndexBuffer)를 관리하며, GPU 렌더링에 필요한 정보를 제공하는 역할을 합니다.

    • 정점 버퍼, 인덱스 버퍼, AABB(경계 상자) 정보를 캡슐화합니다.
    • 버퍼 변경 시 AABB를 자동으로 갱신합니다.
    • GeometryGPURenderInfo를 통해 GPU 파이프라인에 필요한 레이아웃 정보를 제공합니다.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    gpuRenderInfo: GeometryGPURenderInfo

    GPU 파이프라인에 필요한 레이아웃 정보

    Accessors

    • get gpuDevice(): GPUDevice

      Retrieves the GPU device associated with the current instance.

      Returns GPUDevice

      The GPU device.

    • get volume(): AABB

      정점 버퍼 기준 AABB(경계 상자) 반환 최초 접근 시 계산 후 캐싱, 버퍼 변경 시 자동 갱신

      Returns AABB

    Methods