Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Device3::CreateUnorderedAccessView1 method

Creates a view for accessing an unordered access resource.

Syntax


HRESULT CreateUnorderedAccessView1(
  [in]                  ID3D11Resource                    *pResource,
  [in, optional]  const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
  [out, optional]       ID3D11UnorderedAccessView1        **ppUAView1
);

Parameters

pResource [in]

Type: ID3D11Resource*

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

pDesc1 [in, optional]

Type: const D3D11_UNORDERED_ACCESS_VIEW_DESC1*

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

ppUAView1 [out, optional]

Type: ID3D11UnorderedAccessView1**

A pointer to a memory block that receives a pointer to a ID3D11UnorderedAccessView1 interface for the created 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).

Return value

Type: HRESULT

This method returns E_OUTOFMEMORY if there is insufficient memory to create the unordered-access view. See Direct3D 11 Return Codes for other possible return values.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3D11_3.h

Library

D3D11.lib

See also

ID3D11Device3

 

 

Show:
© 2017 Microsoft