Table of Contents

Struct RasterizerStateDataContract

Namespace
HelixToolkit.SharpDX.Shaders
Assembly
HelixToolkit.SharpDX.dll
[DataContract(Name = "RasterizerStateDataContract")]
public struct RasterizerStateDataContract
Inherited Members
Extension Methods

Constructors

RasterizerStateDataContract(RasterizerStateDescription)

public RasterizerStateDataContract(RasterizerStateDescription desc)

Parameters

desc RasterizerStateDescription

Properties

CullMode

[DataMember(Name = "CullMode")]
public int CullMode { readonly get; set; }

Property Value

int

DepthBias

[DataMember(Name = "DepthBias")]
public int DepthBias { readonly get; set; }

Property Value

int

DepthBiasClamp

[DataMember(Name = "DepthBiasClamp")]
public float DepthBiasClamp { readonly get; set; }

Property Value

float

FillMode

[DataMember(Name = "FillMode")]
public int FillMode { readonly get; set; }

Property Value

int

IsAntialiasedLineEnabled

[DataMember(Name = "IsAntialiasedLineEnabled")]
public bool IsAntialiasedLineEnabled { readonly get; set; }

Property Value

bool

IsDepthClipEnabled

[DataMember(Name = "IsDepthClipEnabled")]
public bool IsDepthClipEnabled { readonly get; set; }

Property Value

bool

IsFrontCounterClockwise

[DataMember(Name = "IsFrontCounterClockwise")]
public bool IsFrontCounterClockwise { readonly get; set; }

Property Value

bool

IsMultisampleEnabled

[DataMember(Name = "IsMultisampleEnabled")]
public bool IsMultisampleEnabled { readonly get; set; }

Property Value

bool

IsScissorEnabled

[DataMember(Name = "IsScissorEnabled")]
public bool IsScissorEnabled { readonly get; set; }

Property Value

bool

SlopeScaledDepthBias

[DataMember(Name = "SlopeScaledDepthBias")]
public float SlopeScaledDepthBias { readonly get; set; }

Property Value

float

Methods

ToRasterizerStateDescription()

public RasterizerStateDescription ToRasterizerStateDescription()

Returns

RasterizerStateDescription