wisdom
Loading...
Searching...
No Matches
wis::DepthStencilDesc Struct Reference

Detailed Description

Depth stencil description for .

bool depth_enable = false;
bool depth_write_enable = false;
bool stencil_enable = false;
wis::StencilDesc stencil_front = {};
wis::StencilDesc stencil_back = {};
bool depth_bound_test = false;
};
Compare
Comparison function for depth and stencil operations.
Definition api.hpp:887
@ Less
Pass the comparison if the source value is less than the destination value.
Depth stencil description for .
Definition api.hpp:1696
Stencil description for wis::DepthStencilDesc.
Definition api.hpp:1680

Definition at line 1696 of file api.hpp.

#include <api.hpp>

Public Attributes

bool depth_enable = false
 Depth test enable. Default is false.
 
bool depth_write_enable = false
 Depth write enable. Default is false.
 
wis::Compare depth_comp = wis::Compare::Less
 Depth comparison function. Default is wis::Compare::Less.
 
bool stencil_enable = false
 Stencil test enable. Default is false.
 
wis::StencilDesc stencil_front = {}
 Stencil description for front faces.
 
wis::StencilDesc stencil_back = {}
 Stencil description for back faces.
 
bool depth_bound_test = false
 Depth bound test enable. Default is false.
 

Data Members

◆ depth_bound_test

bool wis::DepthStencilDesc::depth_bound_test = false

Depth bound test enable. Default is false.

Definition at line 1703 of file api.hpp.

◆ depth_comp

wis::Compare wis::DepthStencilDesc::depth_comp = wis::Compare::Less

Depth comparison function. Default is wis::Compare::Less.

Definition at line 1699 of file api.hpp.

◆ depth_enable

bool wis::DepthStencilDesc::depth_enable = false

Depth test enable. Default is false.

Definition at line 1697 of file api.hpp.

◆ depth_write_enable

bool wis::DepthStencilDesc::depth_write_enable = false

Depth write enable. Default is false.

Definition at line 1698 of file api.hpp.

◆ stencil_back

wis::StencilDesc wis::DepthStencilDesc::stencil_back = {}

Stencil description for back faces.

Definition at line 1702 of file api.hpp.

◆ stencil_enable

bool wis::DepthStencilDesc::stencil_enable = false

Stencil test enable. Default is false.

Definition at line 1700 of file api.hpp.

◆ stencil_front

wis::StencilDesc wis::DepthStencilDesc::stencil_front = {}

Stencil description for front faces.

Definition at line 1701 of file api.hpp.


The documentation for this struct was generated from the following file: