mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
GFXStateBlockData new -> singleton
This commit is contained in:
parent
27d2f63986
commit
40cdc29e0c
7 changed files with 12 additions and 12 deletions
|
|
@ -94,7 +94,7 @@ function toggleSpecMapViz( %enable )
|
|||
AL_SpecMapVisualize.disable();
|
||||
}
|
||||
|
||||
new GFXStateBlockData( AL_DepthVisualizeState )
|
||||
singleton GFXStateBlockData( AL_DepthVisualizeState )
|
||||
{
|
||||
zDefined = true;
|
||||
zEnable = false;
|
||||
|
|
@ -105,7 +105,7 @@ new GFXStateBlockData( AL_DepthVisualizeState )
|
|||
samplerStates[1] = SamplerClampLinear; // viz color lookup
|
||||
};
|
||||
|
||||
new GFXStateBlockData( AL_DefaultVisualizeState )
|
||||
singleton GFXStateBlockData( AL_DefaultVisualizeState )
|
||||
{
|
||||
blendDefined = true;
|
||||
blendEnable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
new GFXStateBlockData( Viz_DefaultVisualizeState )
|
||||
singleton GFXStateBlockData( Viz_DefaultVisualizeState )
|
||||
{
|
||||
/*alphaDefined = true;
|
||||
alphaTestEnable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue