Type Alias Object3D<Attribute, Uniform>
type Object3D<Attribute extends string, Uniform extends string> = {
indexBuffer?: WebGLBuffer;
indexBufferLength?: number;
positionBuffer: WebGLBuffer;
programInfo: {
attributesLocations: Record<Attribute, number>;
uniformsLocations: Record<Uniform, WebGLUniformLocation>;
};
shaderProgram: WebGLProgram;
}
indexBuffer?: WebGLBuffer;
indexBufferLength?: number;
positionBuffer: WebGLBuffer;
programInfo: {
attributesLocations: Record<Attribute, number>;
uniformsLocations: Record<Uniform, WebGLUniformLocation>;
};
shaderProgram: WebGLProgram;
}
Type Parameters
- Attribute extends string
- Uniform extends string
Index
Properties
OptionalindexBuffer
OptionalindexBufferLength
indexBufferLength?: number
positionBuffer
programInfo
programInfo: {
attributesLocations: Record<Attribute, number>;
uniformsLocations: Record<Uniform, WebGLUniformLocation>;
}
attributesLocations: Record<Attribute, number>;
uniformsLocations: Record<Uniform, WebGLUniformLocation>;
}
shaderProgram
Was this helpful?