ComponentOne Bitmap for UWP
Create(Device,Resource) Method

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > ShaderResourceView Class > Create Method : Create(Device,Resource) Method
The device to use when creating this ShaderResourceView.
The resource that represents the render-target surface. This surface must have been created with the ShaderResource flag.
Creates a ShaderResourceView for accessing resource data.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal device As Device, _
   ByVal resource As Resource _
) As ShaderResourceView
public static ShaderResourceView Create( 
   Device device,
   Resource resource
)

Parameters

device
The device to use when creating this ShaderResourceView.
resource
The resource that represents the render-target surface. This surface must have been created with the ShaderResource flag.
See Also

Reference

ShaderResourceView Class
ShaderResourceView Members
Overload List