[name]

Methods

[method:null enable]( [page:integer id], [page:boolean boolean] )

TODO

[method:null disable]( [page:integer id], [page:boolean boolean] )

TODO

[method:null setDepthTest]( [page:boolean depthTest] )

depthTest -- The boolean to decide if depth of a fragment needs to be tested against the depth buffer .
This sets, based on depthTest, whether or not the depth data needs to be tested against the depth buffer.

[method:null setDepthWrite]( [page:boolean depthWrite] )

depthWrite -- The boolean to decide if depth of a fragment needs to be kept.
This sets, based on depthWrite, whether or not the depth data needs to be written in the depth buffer.

[method:null setBlending]( [page:number blending], [page:number blendEquation], [page:number blendSrc], [page:number blendDst] )

blending -- A number indicating the blending mode. Possible value are THREE.NoBlending, THREE.NormalBlending, THREE.AdditiveBlending, THREE.SubtractiveBlending, THREE.MultiplyBlending or THREE.CustomBlending
blendEquation -- When blending is THREE.CustomBlending, then you can set the blendEquation. Possible values are THREE.AddEquation, THREE.SubtractEquation or THREE.ReverseSubtractEquation.
blendSrc -- When blending is THREE.CustomBlending, then you can set the blendSrc. Possible values are THREE.ZeroFactor, THREE.OneFactor,THREE.SrcColorFactor, THREE.OneMinusSrcColorFactor, THREE.SrcAlphaFactor, THREE.OneMinusSrcAlphaFactor, THREE.DstAlphaFactor, THREE.OneMinusDstAlphaFactor, THREE.DstColorFactor,THREE.OneMinusDstColorFactor or THREE.SrcAlphaSaturateFactor
blendDst -- When blending is THREE.CustomBlending, then you can set the blendDst. Possible values are THREE.ZeroFactor, THREE.OneFactor,THREE.SrcColorFactor, THREE.OneMinusSrcColorFactor, THREE.SrcAlphaFactor, THREE.OneMinusSrcAlphaFactor, THREE.DstAlphaFactor, THREE.OneMinusDstAlphaFactor, THREE.DstColorFactor,THREE.OneMinusDstColorFactor or THREE.SrcAlphaSaturateFactor
This method sets the correct blending.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]