Textures

Textures

Use the functions below depending on the dimension of the texture to create. Each one takes a D3D11_TEXTURE*D_DESC struct with the parameters for the texture to create.

    • ID3D11Device::CreateTexture1D
    • ID3D11Device::CreateTexture2D
    • ID3D11Device::CreateTexture3D

ID3D11Device::CreateSamplerState

Create a sampler-state object. If a sampler with the same state already exist it will not create a new one but return the one that already exist.

DX11.2 Tiled Resources - 2013

D3D11 Texture Update Costs - 2013