'Declaration Public Overloads Shared Function Create( _ ByVal device As Device, _ ByVal resource As Resource, _ ByVal description As ShaderResourceViewDescription _ ) As ShaderResourceView
public static ShaderResourceView Create( Device device, Resource resource, ShaderResourceViewDescription description )
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.