Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Stellt eine rasterizer-state-Struktur dar und bietet praktische Methoden zum Erstellen von Rasterizer-Zustandsstrukturen.
Syntax
struct CD3D11_RASTERIZER_DESC : D3D11_RASTERIZER_DESC {
void CD3D11_RASTERIZER_DESC();
void CD3D11_RASTERIZER_DESC(
const D3D11_RASTERIZER_DESC & o
);
void CD3D11_RASTERIZER_DESC(
CD3D11_DEFAULT unnamedParam1
);
void CD3D11_RASTERIZER_DESC(
D3D11_FILL_MODE fillMode,
D3D11_CULL_MODE cullMode,
BOOL frontCounterClockwise,
INT depthBias,
FLOAT depthBiasClamp,
FLOAT slopeScaledDepthBias,
BOOL depthClipEnable,
BOOL scissorEnable,
BOOL multisampleEnable,
BOOL antialiasedLineEnable
);
void ~CD3D11_RASTERIZER_DESC();
};
Vererbung
Die CD3D11_RASTERIZER_DESC-Struktur implementiert D3D11_RASTERIZER_DESC.
Member
Instanziiert eine neue instance einer nicht initialisierten CD3D11_RASTERIZER_DESC-Struktur.
void CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC & o)
Instanziiert eine neue instance einer CD3D11_RASTERIZER_DESC-Struktur, die mit einer D3D11_RASTERIZER_DESC-Struktur initialisiert wird.
void CD3D11_RASTERIZER_DESC( CD3D11_DEFAULT unnamedParam1)
Instanziiert eine neue instance einer CD3D11_RASTERIZER_DESC-Struktur, die mit standard rasterizer-state-Werten initialisiert wird.
Instanziiert eine neue instance einer CD3D11_RASTERIZER_DESC-Struktur, die mit D3D11_RASTERIZER_DESC-Werten initialisiert wird.
void ~CD3D11_RASTERIZER_DESC()
Zerstört eine instance einer CD3D11_RASTERIZER_DESC-Struktur.
Hinweise
So definiert D3D11.h CD3D11_RASTERIZER_DESC:
struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC
{
CD3D11_RASTERIZER_DESC()
{}
explicit CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC& o ) :
D3D11_RASTERIZER_DESC( o )
{}
explicit CD3D11_RASTERIZER_DESC( CD3D11_DEFAULT )
{
FillMode = D3D11_FILL_SOLID;
CullMode = D3D11_CULL_BACK;
FrontCounterClockwise = FALSE;
DepthBias = D3D11_DEFAULT_DEPTH_BIAS;
DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;
SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
DepthClipEnable = TRUE;
ScissorEnable = FALSE;
MultisampleEnable = FALSE;
AntialiasedLineEnable = FALSE;
}
explicit CD3D11_RASTERIZER_DESC(
D3D11_FILL_MODE fillMode,
D3D11_CULL_MODE cullMode,
BOOL frontCounterClockwise,
INT depthBias,
FLOAT depthBiasClamp,
FLOAT slopeScaledDepthBias,
BOOL depthClipEnable,
BOOL scissorEnable,
BOOL multisampleEnable,
BOOL antialiasedLineEnable )
{
FillMode = fillMode;
CullMode = cullMode;
FrontCounterClockwise = frontCounterClockwise;
DepthBias = depthBias;
DepthBiasClamp = depthBiasClamp;
SlopeScaledDepthBias = slopeScaledDepthBias;
DepthClipEnable = depthClipEnable;
ScissorEnable = scissorEnable;
MultisampleEnable = multisampleEnable;
AntialiasedLineEnable = antialiasedLineEnable;
}
~CD3D11_RASTERIZER_DESC() {}
operator const D3D11_RASTERIZER_DESC&() const { return *this; }
};
|
Anforderungen
| Anforderung | Wert |
|---|---|
| Unterstützte Mindestversion (Client) | Windows 7 [Desktop-Apps | UWP-Apps] |
| Unterstützte Mindestversion (Server) | Windows Server 2008 R2 [Desktop-Apps | UWP-Apps] |
| Kopfzeile | d3d11.h |