estructura de CD3DX12_DEPTH_STENCIL_DESC
Estructura auxiliar para permitir una inicialización sencilla de una estructura de D3D12_DEPTH_STENCIL_DESC .
Sintaxis
struct CD3DX12_DEPTH_STENCIL_DESC : public D3D12_DEPTH_STENCIL_DESC{
CD3DX12_DEPTH_STENCIL_DESC();
explicit CD3DX12_DEPTH_STENCIL_DESC(const D3D12_DEPTH_STENCIL_DESC& o);
explicit CD3DX12_DEPTH_STENCIL_DESC(CD3DX12_DEFAULT);
explicit CD3DX12_DEPTH_STENCIL_DESC(BOOL depthEnable, D3D12_DEPTH_WRITE_MASK depthWriteMask, D3D12_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D12_STENCIL_OP frontStencilFailOp, D3D12_STENCIL_OP frontStencilDepthFailOp, D3D12_STENCIL_OP frontStencilPassOp, D3D12_COMPARISON_FUNC frontStencilFunc, D3D12_STENCIL_OP backStencilFailOp, D3D12_STENCIL_OP backStencilDepthFailOp, D3D12_STENCIL_OP backStencilPassOp, D3D12_COMPARISON_FUNC backStencilFunc);
~CD3DX12_DEPTH_STENCIL_DESC();
operator const D3D12_DEPTH_STENCIL_DESC&() const;
};
Miembros
-
CD3DX12_DEPTH_STENCIL_DESC()
-
Crea una nueva instancia sin inicializar de un D3DX12_DEPTH_STENCIL_DESC.
-
explicit CD3DX12_DEPTH_STENCIL_DESC(const D3D12_DEPTH_STENCIL_DESC& o)
-
Crea una nueva instancia de un D3DX12_DEPTH_STENCIL_DESC, inicializado con el contenido de otra estructura de D3D12_DEPTH_STENCIL_DESC .
-
explicit CD3DX12_DEPTH_STENCIL_DESC(CD3DX12_DEFAULT)
-
Crea una nueva instancia de un D3DX12_DEPTH_STENCIL_DESC, inicializado con parámetros predeterminados.
DepthEnable = TRUE; DepthWriteMask = D3D12_DEPTH_WRITE_MASK_ALL; DepthFunc = D3D12_COMPARISON_FUNC_LESS; StencilEnable = FALSE; StencilReadMask = D3D12_DEFAULT_STENCIL_READ_MASK; StencilWriteMask = D3D12_DEFAULT_STENCIL_WRITE_MASK; const D3D12_DEPTH_STENCILOP_DESC defaultStencilOp = { D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_COMPARISON_FUNC_ALWAYS }; FrontFace = defaultStencilOp; BackFace = defaultStencilOp;
-
explicit CD3DX12_DEPTH_STENCIL_DESC(BOOL depthEnable, D3D12_DEPTH_WRITE_MASK depthWriteMask, D3D12_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, Galería de símbolos UINT8WriteMask, D3D12_STENCIL_OP frontStencilFailOp, D3D12_STENCIL_OP frontStencilDepthFailOp, D3D12_STENCIL_OP frontStencilPassOp, D3D12_COMPARISON_FUNC frontStencilFunc, D3D12_STENCIL_OP backStencilFailOp, D3D12_STENCIL_OP backStencilDepthFailOp, D3D12_STENCIL_OP backStencilPassOp, D3D12_ COMPARISON_FUNC backStencilFunc)
-
Crea una nueva instancia de un D3DX12_DEPTH_STENCIL_DESC, inicializando los parámetros siguientes:
Profundidad boolEnable
D3D12_DEPTH_WRITE_MASK depthWriteMask
D3D12_COMPARISON_FUNC depthFunc
Galería de símbolos BOOLEnable
Galería de símbolos UINT8ReadMask
Galería de símbolos UINT8WriteMask
D3D12_STENCIL_OP frontStencilFailOp
D3D12_STENCIL_OP frontStencilDepthFailOp
D3D12_STENCIL_OP frontStencilPassOp
D3D12_COMPARISON_FUNC frontStencilFunc
D3D12_STENCIL_OP backStencilFailOp
D3D12_STENCIL_OP backStencilDepthFailOp
D3D12_STENCIL_OP backStencilPassOp
D3D12_COMPARISON_FUNC backStencilFunc
-
~CD3DX12_DEPTH_STENCIL_DESC()
-
Destruye una instancia de un CD3DX12_DEPTH_STENCIL_DESC.
-
operator const D3D12_DEPTH_STENCIL_DESC&() const
-
Define el & operador pass-by-reference para el tipo de estructura principal.
Requisitos
Requisito | Value |
---|---|
Encabezado |
|