Properties
Optional alphaTest
alphaTest?: number
Optional alphaToCoverage
alphaToCoverage?: boolean
Optional blendDst
blendDst?: BlendingDstFactor
Optional blendDstAlpha
blendDstAlpha?: number
Optional blendEquation
blendEquation?: BlendingEquation
Optional blendEquationAlpha
blendEquationAlpha?: number
Optional blendSrc
blendSrc?: BlendingDstFactor | BlendingSrcFactor
Optional blendSrcAlpha
blendSrcAlpha?: number
Optional blending
blending?: Blending
Optional clipIntersection
clipIntersection?: boolean
Optional clipShadows
clipShadows?: boolean
Optional clipping
clipping?: boolean
Optional clippingPlanes
clippingPlanes?: Plane[]
Optional colorWrite
colorWrite?: boolean
Optional defines
defines?: any
Optional depthFunc
depthFunc?: DepthModes
Optional depthTest
depthTest?: boolean
Optional depthWrite
depthWrite?: boolean
Optional dithering
dithering?: boolean
Optional extensions
extensions?: { derivatives?: boolean; drawBuffers?: boolean; fragDepth?: boolean; shaderTextureLOD?: boolean }
Type declaration
Optional derivatives?: boolean
Optional drawBuffers?: boolean
Optional fragDepth?: boolean
Optional shaderTextureLOD?: boolean
Optional fog
fog?: boolean
Optional format
format?: PixelFormat
Optional fragmentShader
fragmentShader?: string
Optional glslVersion
glslVersion?: GLSLVersion
Optional inputRenderTargets
inputRenderTargets?: string
Optional lights
lights?: boolean
Optional linewidth
linewidth?: number
Optional name
name?: string
Optional opacity
opacity?: number
Optional polygonOffset
polygonOffset?: boolean
Optional polygonOffsetFactor
polygonOffsetFactor?: number
Optional polygonOffsetUnits
polygonOffsetUnits?: number
Optional precision
precision?: null | "highp" | "mediump" | "lowp"
Optional premultipliedAlpha
premultipliedAlpha?: boolean
Optional shadowSide
shadowSide?: Side
Optional stencilFail
stencilFail?: StencilOp
Optional stencilFunc
stencilFunc?: StencilFunc
Optional stencilFuncMask
stencilFuncMask?: number
Optional stencilRef
stencilRef?: number
Optional stencilWrite
stencilWrite?: boolean
Optional stencilWriteMask
stencilWriteMask?: number
Optional stencilZFail
stencilZFail?: StencilOp
Optional stencilZPass
stencilZPass?: StencilOp
Optional toneMapped
toneMapped?: boolean
Optional transparent
transparent?: boolean
Optional uniforms
uniforms?: {}
Type declaration
[uniform: string]: IUniform
Optional userData
userData?: any
Optional vertexColors
vertexColors?: boolean
Optional vertexShader
vertexShader?: string
Optional visible
visible?: boolean
Optional wireframe
wireframe?: boolean
Optional wireframeLinewidth
wireframeLinewidth?: number