3 using System.Runtime.InteropServices;
5 using SiliconStudio.Core;
7 namespace SiliconStudio.
Paradox.Graphics
13 [StructLayout(LayoutKind.Sequential)]
83 DepthClipEnable =
true;
84 FrontFaceCounterClockwise =
false;
85 ScissorTestEnable =
false;
86 MultiSampleAntiAlias =
false;
87 MultiSampleAntiAliasLine =
false;
90 SlopeScaleDepthBias = 0f;
bool DepthClipEnable
Enable clipping based on distance.
Describes a rasterizer state.
FillMode FillMode
Determines the fill mode to use when rendering (see FillMode).
bool MultiSampleAntiAlias
Enable multisample antialiasing.
bool MultiSampleAntiAliasLine
Enable line antialiasing; only applies if doing line drawing and MultisampleEnable is false...
CullMode CullMode
Indicates triangles facing the specified direction are not drawn (see CullMode).
Use the default mode depending on the type of the field/property.
CullMode
Indicates triangles facing a particular direction are not drawn.
bool FrontFaceCounterClockwise
Determines if a triangle is front- or back-facing. If this parameter is true, then a triangle will be...
void SetDefault()
Sets default values for this instance.
RasterizerStateDescription(CullMode cullMode)
Initializes a new instance of the RasterizerStateDescription class.
bool ScissorTestEnable
Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled...
float SlopeScaleDepthBias
Scalar on a given pixel's slope.
int DepthBias
Depth value added to a given pixel.
float DepthBiasClamp
Gets or sets the depth bias for polygons, which is the amount of bias to apply to the depth of a prim...