UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:d3d10.ID3D10Device.CreateSamplerState |
ID3D10Device::CreateSamplerState (d3d10.h) |
Create a sampler-state object that encapsulates sampling information for a texture. (ID3D10Device.CreateSamplerState) |
|
direct3d10\id3d10device_createsamplerstate.htm |
direct3d10 |
VS|directx_sdk|~\id3d10device_createsamplerstate.htm |
12/05/2018 |
CreateSamplerState, CreateSamplerState method [Direct3D 10], CreateSamplerState method [Direct3D 10],ID3D10Device interface, ID3D10Device interface [Direct3D 10],CreateSamplerState method, ID3D10Device.CreateSamplerState, ID3D10Device::CreateSamplerState, a31393bc-fcc0-a2f3-9886-f79cb4ca7009, d3d10/ID3D10Device::CreateSamplerState, direct3d10.id3d10device_createsamplerstate |
d3d10.h |
Windows |
D3D10.lib |
Windows |
19H1 |
|
|
|
|
|
|
Create a sampler-state object that encapsulates sampling information for a texture.
Type: const D3D10_SAMPLER_DESC*
Pointer to a sampler state description (see D3D10_SAMPLER_DESC).
Type: ID3D10SamplerState**
Address of a pointer to the sampler state object created (see ID3D10SamplerState Interface).
Type: HRESULT
This method returns one of the following Direct3D 10 Return Codes.
4096 unique sampler state objects can be created on a device at a time.
If an application attempts to create a sampler state with the same description as an already existing sampler state, then the same interface with an incremented reference count will be returned and the total number of unique sampler state objects will stay the same.