ID3D11Texture1D interface (d3d11.h)

A 1D texture interface accesses texel data, which is structured memory.

Inheritance

The ID3D11Texture1D interface inherits from ID3D11Resource. ID3D11Texture1D also has these types of members:

Methods

The ID3D11Texture1D interface has these methods.

 
ID3D11Texture1D::GetDesc

Get the properties of the texture resource. (ID3D11Texture1D.GetDesc)

Remarks

To create an empty 1D texture, call ID3D11Device::CreateTexture1D. For info about how to create a 2D texture, which is similar to creating a 1D texture, see How to: Create a Texture.

Textures cannot be bound directly to the pipeline; instead, a view must be created and bound. Using a view, texture data can be interpreted at run time within certain restrictions. To use the texture as a render target or depth-stencil resource, call ID3D11Device::CreateRenderTargetView, and ID3D11Device::CreateDepthStencilView, respectively. To use the texture as an input to a shader, create a by calling ID3D11Device::CreateShaderResourceView.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11Resource

Resource Interfaces