[]
Constructs a new SamplerState based on the specified description.
public static SamplerState Create(Device device, SamplerStateDescription description)
Type | Name | Description |
---|---|---|
Device | device | The device with which to associate the state object. |
SamplerStateDescription | description | The state description. |
Type | Description |
---|---|
SamplerState |