DepthFunc Struct Reference

Structure representing the depth test function. More...

List of all members.

Public Member Functions

 DepthFunc (DepthFuncMode mode, bool writeMask)
 Creates the structure representing the depth test function.
void Set (DepthFuncMode mode, bool writeMask)
 Sets a value to the structure representing the depth test function.

Properties

DepthFuncMode Mode [get, set]
 Depth test function mode.
bool WriteMask [get, set]
 Depth test function write mask.

Detailed Description

Structure representing the depth test function.


Constructor & Destructor Documentation

DepthFunc ( DepthFuncMode  mode,
bool  writeMask 
)

Creates the structure representing the depth test function.

Parameters:
modeDepth test function mode
writeMaskDepth test function write mask

Member Function Documentation

void Set ( DepthFuncMode  mode,
bool  writeMask 
)

Sets a value to the structure representing the depth test function.

Parameters:
modeDepth test function mode
writeMaskDepth test function write mask