Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Representa una estructura de estado de galería de símbolos de profundidad y proporciona métodos útiles para crear estructuras de estado de galería de símbolos de profundidad.
Syntax
struct CD3D11_DEPTH_STENCIL_DESC : D3D11_DEPTH_STENCIL_DESC {
void CD3D11_DEPTH_STENCIL_DESC();
void CD3D11_DEPTH_STENCIL_DESC(
const D3D11_DEPTH_STENCIL_DESC & o
);
void CD3D11_DEPTH_STENCIL_DESC(
CD3D11_DEFAULT unnamedParam1
);
void CD3D11_DEPTH_STENCIL_DESC(
BOOL depthEnable,
D3D11_DEPTH_WRITE_MASK depthWriteMask,
D3D11_COMPARISON_FUNC depthFunc,
BOOL stencilEnable,
UINT8 stencilReadMask,
UINT8 stencilWriteMask,
D3D11_STENCIL_OP frontStencilFailOp,
D3D11_STENCIL_OP frontStencilDepthFailOp,
D3D11_STENCIL_OP frontStencilPassOp,
D3D11_COMPARISON_FUNC frontStencilFunc,
D3D11_STENCIL_OP backStencilFailOp,
D3D11_STENCIL_OP backStencilDepthFailOp,
D3D11_STENCIL_OP backStencilPassOp,
D3D11_COMPARISON_FUNC backStencilFunc
);
void ~CD3D11_DEPTH_STENCIL_DESC();
};
Herencia
La estructura CD3D11_DEPTH_STENCIL_DESC implementa D3D11_DEPTH_STENCIL_DESC.
Miembros
void CD3D11_DEPTH_STENCIL_DESC()
Crea una instancia de una nueva instancia de una estructura de CD3D11_DEPTH_STENCIL_DESC sin inicializar.
void CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC & o)
Crea una instancia de una nueva instancia de una estructura de CD3D11_DEPTH_STENCIL_DESC que se inicializa con una estructura de D3D11_DEPTH_STENCIL_DESC .
void CD3D11_DEPTH_STENCIL_DESC( CD3D11_DEFAULT unnamedParam1)
Crea una instancia de una nueva instancia de una estructura de CD3D11_DEPTH_STENCIL_DESC que se inicializa con valores predeterminados de estado de galería de símbolos de profundidad.
void CD3D11_DEPTH_STENCIL_DESC( BOOL depthEnable, D3D11_DEPTH_WRITE_MASK depthWriteMask, D3D11_COMPARISON_FUNC depthFunc, BOOL stencilEnable, UINT8 stencilReadMask, UINT8 stencilWriteMask, D3D11_STENCIL_OP frontStencilFailOp, D3D11_STENCIL_OP frontStencilDepthFailOp, D3D11_STENCIL_OP frontStencilPassOp, D3D11_COMPARISON_FUNC frontStencilFunc, D3D11_STENCIL_OP backStencilFailOp, D3D11_STENCIL_OP backStencilDepthFailOp, D3D11_STENCIL_OP backStencilPassOp, D3D11_COMPARISON_FUNC backStencilFunc)
void ~CD3D11_DEPTH_STENCIL_DESC()
Destruye una instancia de una estructura de CD3D11_DEPTH_STENCIL_DESC .
Comentarios
Este es el modo en que D3D11.h define CD3D11_DEPTH_STENCIL_DESC:
struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC
{
CD3D11_DEPTH_STENCIL_DESC()
{}
explicit CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC& o ) :
D3D11_DEPTH_STENCIL_DESC( o )
{}
explicit CD3D11_DEPTH_STENCIL_DESC( CD3D11_DEFAULT )
{
DepthEnable = TRUE;
DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL;
DepthFunc = D3D11_COMPARISON_LESS;
StencilEnable = FALSE;
StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK;
StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK;
const D3D11_DEPTH_STENCILOP_DESC defaultStencilOp =
{ D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_COMPARISON_ALWAYS };
FrontFace = defaultStencilOp;
BackFace = defaultStencilOp;
}
explicit CD3D11_DEPTH_STENCIL_DESC(
BOOL depthEnable,
D3D11_DEPTH_WRITE_MASK depthWriteMask,
D3D11_COMPARISON_FUNC depthFunc,
BOOL stencilEnable,
UINT8 stencilReadMask,
UINT8 stencilWriteMask,
D3D11_STENCIL_OP frontStencilFailOp,
D3D11_STENCIL_OP frontStencilDepthFailOp,
D3D11_STENCIL_OP frontStencilPassOp,
D3D11_COMPARISON_FUNC frontStencilFunc,
D3D11_STENCIL_OP backStencilFailOp,
D3D11_STENCIL_OP backStencilDepthFailOp,
D3D11_STENCIL_OP backStencilPassOp,
D3D11_COMPARISON_FUNC backStencilFunc )
{
DepthEnable = depthEnable;
DepthWriteMask = depthWriteMask;
DepthFunc = depthFunc;
StencilEnable = stencilEnable;
StencilReadMask = stencilReadMask;
StencilWriteMask = stencilWriteMask;
FrontFace.StencilFailOp = frontStencilFailOp;
FrontFace.StencilDepthFailOp = frontStencilDepthFailOp;
FrontFace.StencilPassOp = frontStencilPassOp;
FrontFace.StencilFunc = frontStencilFunc;
BackFace.StencilFailOp = backStencilFailOp;
BackFace.StencilDepthFailOp = backStencilDepthFailOp;
BackFace.StencilPassOp = backStencilPassOp;
BackFace.StencilFunc = backStencilFunc;
}
~CD3D11_DEPTH_STENCIL_DESC() {}
operator const D3D11_DEPTH_STENCIL_DESC&() const { return *this; }
};
|
Requisitos
| Cliente mínimo compatible | Windows 7 [aplicaciones de escritorio | Aplicaciones para UWP] |
| Servidor mínimo compatible | Windows Server 2008 R2 [aplicaciones de escritorio | Aplicaciones para UWP] |
| Encabezado | d3d11.h |