we
    Preparing search index...

    简单绘制命令

    1、通过shader code 创建 shader module 和 pipeline;

    2、pipeline layout 为 auto 模式;

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _isDestroy: boolean = false
    bindGroups: (undefined | null | GPUBindGroup)[] = []
    device: GPUDevice
    indexBuffer: undefined | I_VertexBufferEntry
    indexFormat: GPUIndexFormat = "uint32"
    label: string
    pipeline: GPURenderPipeline
    renderPassDescriptor:
        | undefined
        | GPURenderPassDescriptor
        | (() => GPURenderPassDescriptor)
    scene: Scene
    shaderModule: undefined | GPUShaderModule
    uniformGPUBuffers: GPUBuffer[] = []
    vertexBuffers: I_VertexBufferEntry[] = []
    verticesBufferLayout: GPUVertexBufferLayout[] = []

    Methods