wisdom
Loading...
Searching...
No Matches
WisDepthStencilDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisDepthStencilDesc {
bool depth_enable;
bool depth_write_enable;
WisCompareOp depth_comp;
bool stencil_enable;
WisStencilDesc stencil_front;
WisStencilDesc stencil_back;
bool depth_bound_test;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct DepthStencilDesc {
bool depth_enable;
bool depth_write_enable;
wis::CompareOp depth_comp;
bool stencil_enable;
wis::StencilDesc stencil_front;
wis::StencilDesc stencil_back;
bool depth_bound_test;
};
}

Members


  • depth_enable indicates depth test enable. Default is false.
  • depth_write_enable describes depth write enable. Default is false.
  • depth_comp indicates depth comparison function. Default is WisCompareOpLess.
  • stencil_enable defines stencil test enable. Default is false.
  • stencil_front specifies stencil description for front faces.
  • stencil_back specifies stencil description for back faces.
  • depth_bound_test indicates depth bound test enable. Default is false.

Description


See Also


See also
Structs: WisGraphicsPipelineDesc