(0) exportieren Drucken
Alle erweitern

ID3D11Device::CreateUnorderedAccessView Method

Create a view for accessing an unordered access resource.

Syntax

HRESULT CreateUnorderedAccessView(
  [in]   ID3D11Resource *pResource,
  [in]   const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
  [out]  ID3D11UnorderedAccessView **ppUAView
);

Parameter

pResource [in]

Typ: ID3D11Resource*

Pointer to an ID3D11Resource that represents a resources that will be serve as an input to a shader.

pDesc [in]

Typ: const D3D11_UNORDERED_ACCESS_VIEW_DESC*

Pointer to an D3D11_UNORDERED_ACCESS_VIEW_DESC that represents a shader-resource-view description. Set this parameter to NULL to create a view that accesses the entire resource (using the format the resource was created with).

ppUAView [out]

Typ: ID3D11UnorderedAccessView**

Address of a pointer to an ID3D11UnorderedAccessView that represents an unordered access view. Set this parameter to NULL to validate the other input parameters (the method will return S_FALSE if the other input parameters pass validation).

Rückgabewert

Typ: HRESULT

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

Hinweise

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11Device

 

 

Anzeigen:
© 2014 Microsoft