interface Renderable { render( gl: WebGL2RenderingContext, uniforms: UniformSet, materialOverride?: Material, programOverride?: ProgramInfo, ): void;} Methods
render
- render(
gl: WebGL2RenderingContext,
uniforms: UniformSet,
materialOverride?: Material,
programOverride?: ProgramInfo,
): void Parameters
- gl: WebGL2RenderingContext
- uniforms: UniformSet
Optional
materialOverride: MaterialOptional
programOverride: ProgramInfo
Returns void
Models and primitives implement this interface to be rendered