[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.PixelShader

Class PixelShader

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11PixelShader

[Guid("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")]
public class PixelShader : DeviceChild, IDisposable, IUnknown
Inheritance
object
PixelShader
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PixelShader(IntPtr)

Initializes a new instance of the PixelShader class.

public PixelShader(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the PixelShader class.

public static PixelShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)

Parameters

device Device

The device used to create the shader.

shaderBytecode byte[]

The compiled shader bytecode.

linkage ClassLinkage

A dynamic class linkage interface.

Returns

PixelShader

Operators

explicit operator PixelShader(IntPtr)

Performs an explicit conversion from System.IntPtr to PixelShader.

public static explicit operator PixelShader(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

PixelShader