PipelineCreater增加设置项
This commit is contained in:
parent
dcc41f2073
commit
53a819abd7
@ -81,6 +81,12 @@ public:
|
|||||||
|
|
||||||
void SetDepthTest( bool dt) {depthStencilState.depthTestEnable=dt;}
|
void SetDepthTest( bool dt) {depthStencilState.depthTestEnable=dt;}
|
||||||
void SetDepthWrite( bool dw) {depthStencilState.depthWriteEnable=dw;}
|
void SetDepthWrite( bool dw) {depthStencilState.depthWriteEnable=dw;}
|
||||||
|
void SetDepthCompareOp( VkCompareOp op) {depthStencilState.depthCompareOp=op;}
|
||||||
|
void SetDepthBoundsTest(bool dbt) {depthStencilState.depthBoundsTestEnable=dbt;}
|
||||||
|
void SetDepthBounds( float min_depth,
|
||||||
|
float max_depth) {depthStencilState.minDepthBounds=min_depth;
|
||||||
|
depthStencilState.maxDepthBounds=max_depth;}
|
||||||
|
void SetStencilTest( bool st) {depthStencilState.stencilTestEnable=st;}
|
||||||
|
|
||||||
void SetDepthClamp( bool dc) {rasterizer.depthClampEnable=dc;}
|
void SetDepthClamp( bool dc) {rasterizer.depthClampEnable=dc;}
|
||||||
void SetDiscard( bool discard) {rasterizer.rasterizerDiscardEnable=discard;}
|
void SetDiscard( bool discard) {rasterizer.rasterizerDiscardEnable=discard;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user