Table of Contents

Class HullShader

Namespace
HelixToolkit.SharpDX.Shaders
Assembly
HelixToolkit.SharpDX.dll
public sealed class HullShader : ShaderBase, IDisposable
Inheritance
HullShader
Implements
Inherited Members

Constructors

HullShader(Device, string, byte[])

Vertex Shader

public HullShader(Device device, string name, byte[] byteCode)

Parameters

device Device
name string
byteCode byte[]

Fields

NullHullShader

public static readonly HullShader NullHullShader

Field Value

HullShader

Type

public static readonly HullShaderType Type

Field Value

HullShaderType

Methods

Bind(DeviceContextProxy, bool)

Binds shader to pipeline

public void Bind(DeviceContextProxy context, bool bindConstantBuffer = true)

Parameters

context DeviceContextProxy

The context.

bindConstantBuffer bool

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.

Operators

implicit operator HullShaderType(HullShader)

public static implicit operator HullShaderType(HullShader s)

Parameters

s HullShader

Returns

HullShaderType