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

    Class VertexBuffer

    VertexBuffer

    Hierarchy (View Summary)

    Index

    Buffer

    "[GPU_BUFFER_DATA_SYMBOL]": Float32Array

    버텍스 데이터가 저장되는 내부 버퍼입니다.

    • 버텍스 버퍼의 전체 데이터를 GPU에 다시 업로드합니다.

      Parameters

      • data: number[] | Float32Array<ArrayBufferLike>

        새로운 버텍스 데이터 (Array 또는 Float32Array)

      Returns void

    • 버텍스 버퍼의 일부 데이터를 오프셋부터 업데이트합니다.

      Parameters

      • data: number[] | Float32Array<ArrayBufferLike>

        새로운 버텍스 데이터 (Array 또는 Float32Array)

      • offset: number = 0

        업데이트 시작 오프셋(기본값: 0)

      Returns void

    Other

    "[GPU_BUFFER_CACHE_KEY]": string
    "[GPU_BUFFER_SYMBOL]": GPUBuffer
    • get gpuDevice(): GPUDevice

      Retrieves the GPU device associated with the current instance.

      Returns GPUDevice

      The GPU device.