This topic has not yet been rated - Rate this topic

ID3D11Texture1D interface

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

Members

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

Methods

The ID3D11Texture1D interface has these methods.

MethodDescription
GetDesc

Get the properties of the texture resource.

 

Remarks

To create an empty 1D texture, call ID3D11Device::CreateTexture1D. For more details on creating and loading textures, see Creating Texture Resources.

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.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D3D11.h

Library

D3D11.lib

See also

Resource Interfaces

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.