[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.SamplerState

Class SamplerState

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

ID3D11SamplerState

[Guid("da6fea51-564c-4487-9810-f0d0f9b4e3a5")]
public class SamplerState : DeviceChild, IDisposable, IUnknown
Inheritance
object
SamplerState
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

SamplerState(IntPtr)

Initializes a new instance of the SamplerState class.

public SamplerState(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public SamplerStateDescription Description { get; }

Property Value

SamplerStateDescription

Methods

Create(Device, SamplerStateDescription)

Constructs a new SamplerState based on the specified description.

public static SamplerState Create(Device device, SamplerStateDescription description)

Parameters

device Device

The device with which to associate the state object.

description SamplerStateDescription

The state description.

Returns

SamplerState

GetDescription(out SamplerStateDescription)

void ID3D11SamplerState::GetDesc([Out] D3D11_SAMPLER_DESC* pDesc)

public void GetDescription(out SamplerStateDescription descRef)

Parameters

descRef SamplerStateDescription

Operators

explicit operator SamplerState(IntPtr)

Performs an explicit conversion from System.IntPtr to SamplerState.

public static explicit operator SamplerState(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

SamplerState