ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / ShaderResourceView Class / Create Method / Create(Device,Resource,ShaderResourceViewDescription) 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.
A structure describing the ShaderResourceView to be created.

In This Topic
    Create(Device,Resource,ShaderResourceViewDescription) Method
    In This Topic
    Creates a ShaderResourceView for accessing resource data.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal resource As Resource, _
       ByVal description As ShaderResourceViewDescription _
    ) As ShaderResourceView

    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.
    description
    A structure describing the ShaderResourceView to be created.
    See Also