Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 3.24 KB

nf-d3d10-id3d10device-createsamplerstate.md

File metadata and controls

84 lines (65 loc) · 3.24 KB
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)
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
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
ID3D10Device::CreateSamplerState
d3d10/ID3D10Device::CreateSamplerState
c++
APIRef
kbSyntax
COM
D3D10.lib
D3D10.dll
ID3D10Device.CreateSamplerState

ID3D10Device::CreateSamplerState

-description

Create a sampler-state object that encapsulates sampling information for a texture.

-parameters

-param pSamplerDesc [in]

Type: const D3D10_SAMPLER_DESC*

Pointer to a sampler state description (see D3D10_SAMPLER_DESC).

-param ppSamplerState [out]

Type: ID3D10SamplerState**

Address of a pointer to the sampler state object created (see ID3D10SamplerState Interface).

-returns

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

-remarks

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.

-see-also

ID3D10Device Interface