[]
ID3D11PixelShader
[Guid("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")]
public class PixelShader : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the PixelShader class.
public PixelShader(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the PixelShader class.
public static PixelShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)
device
DeviceThe device used to create the shader.
shaderBytecode
byte[]The compiled shader bytecode.
linkage
ClassLinkageA dynamic class linkage interface.
Performs an explicit conversion from System.IntPtr to PixelShader.
public static explicit operator PixelShader(IntPtr nativePointer)
nativePointer
System.IntPtr