[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.RasterizerState

Class RasterizerState

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11RasterizerState

[Guid("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")]
public class RasterizerState : DeviceChild, IDisposable, IUnknown
Inheritance
object
RasterizerState
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

RasterizerState(IntPtr)

Initializes a new instance of the RasterizerState class.

public RasterizerState(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public RasterizerStateDescription Description { get; }

Property Value

RasterizerStateDescription

Methods

Create(Device, RasterizerStateDescription)

Create a rasterizer state object that tells the rasterizer stage how to behave.

public static RasterizerState Create(Device device, RasterizerStateDescription description)

Parameters

device Device
description RasterizerStateDescription

Returns

RasterizerState

GetDescription(out RasterizerStateDescription)

void ID3D11RasterizerState::GetDesc([Out] D3D11_RASTERIZER_DESC* pDesc)

public void GetDescription(out RasterizerStateDescription descRef)

Parameters

descRef RasterizerStateDescription

Operators

explicit operator RasterizerState(IntPtr)

Performs an explicit conversion from System.IntPtr to RasterizerState.

public static explicit operator RasterizerState(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

RasterizerState