UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d10umddi.PFND3D11DDI_CREATESHADERRESOURCEVIEW |
PFND3D11DDI_CREATESHADERRESOURCEVIEW (d3d10umddi.h) |
The CreateShaderResourceView(D3D11) function creates a shader resource view. |
display\createshaderresourceview_d3d11_.htm |
05/10/2018 |
|
CreateShaderResourceView, CreateShaderResourceView callback function [Display Devices], PFND3D11DDI_CREATESHADERRESOURCEVIEW, PFND3D11DDI_CREATESHADERRESOURCEVIEW callback, UserModeDisplayDriverDx11_Functions_abe7b0fb-121d-4486-af02-885ff37a4e81.xml, d3d10umddi/CreateShaderResourceView, display.createshaderresourceview_d3d11_ |
d3d10umddi.h |
D3d10umddi.h |
Desktop |
CreateShaderResourceView(D3D11) is supported beginning with the Windows 7 operating system. |
Windows |
display |
|
|
|
|
|
The CreateShaderResourceView(D3D11) function creates a shader resource view.
hDevice [in]
A handle to the display device (graphics context).
pCreateShaderResourceView [in]
A pointer to a D3D11DDIARG_CREATESHADERRESOURCEVIEW structure that describes the parameters that the user-mode display driver uses to create a shader resource view.
hShaderResourceView [in]
A handle to the driver's private data for the hull shader.
hRTShaderResourceView [in]
A handle to the shader resource view that the driver should use when it calls back into the Direct3D runtime.
The driver can use the pfnSetErrorCb callback function to set an error code.
The driver might run out of memory. Therefore, the driver can pass E_OUTOFMEMORY or D3DDDIERR_DEVICEREMOVED in a call to the pfnSetErrorCb function. The Direct3D runtime determines that any other errors are critical. If the driver passes any errors, which includes D3DDDIERR_DEVICEREMOVED, the Direct3D runtime determines that the handle is invalid; therefore, the runtime does not call the DestroyShaderResourceView function to destroy the handle that the hShaderResourceView parameter specifies.
CalcPrivateShaderResourceViewSize(D3D11)