Back to class index
DepthState[Class Summary]
stateID
depthTestEnabled
depthWriteEnabled
depthFunc
ctor (+1 overload)
~dtor
Create(...)
Deinit()
ReComputeStateID()

DepthState::DepthState

Syntax

DepthState::DepthState();

Creates a null DepthState object.

Syntax

DepthState::DepthState(bool depthTestEnabled, bool depthWriteEnabled, DepthCmpFunc depthFunc=DepthCmpLess);

Creates a DepthState object with the given depth operations.

For the parameters, see the Create() function.

See Also

Create().

Work in progress:

Todo: in DepthState::DepthState(bool depthTestEnabled, bool depthWriteEnabled, DepthCmpFunc depthFunc=DepthCmpLess):
Add support for stenciling operations by enabling the following:

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index