Class RenderAtomic

渲染原子(该对象会收集一切渲染所需数据以及参数)

Hierarchy

  • RenderAtomic

Constructors

Properties

_attributes: {
    [key: string]: AttributeBuffer;
} = {}

Type declaration

_renderParams: RenderParams = ...
_shader: Shader

顶点索引缓冲

instanceCount: Lazy<number>

渲染实例数量

下一个结点

shaderMacro: ShaderMacro = ...

shader 中的 宏

shadowShader: Shader
uniforms: LazyObject<Uniforms> = ...

Uniform渲染数据

wireframeShader: Shader
wireframeindexBuffer: ElementBuffer

顶点索引缓冲

Accessors

Methods

  • 获取属性顶点属性。

    Returns

    Parameters

    • attributes: WebGLAttributeBuffers

    Returns number

Generated using TypeDoc