ID3D11Device3::CreateUnorderedAccessView1 method (d3d11_3.h)
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
[in] pResource
Type: ID3D11Resource*
Pointer to an ID3D11Resource that represents a resources that will serve as an input to a shader.
[in, optional] pDesc1
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).
[out, optional] ppUAView1
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | d3d11_3.h |
Library | D3D11.lib |