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
Fields
NullHullShader
public static readonly HullShader NullHullShader
Field Value
Type
public static readonly HullShaderType Type
Field Value
Methods
Bind(DeviceContextProxy, bool)
Binds shader to pipeline
public void Bind(DeviceContextProxy context, bool bindConstantBuffer = true)
Parameters
contextDeviceContextProxyThe context.
bindConstantBufferbool
OnDispose(bool)
Disposes of object resources.
protected override void OnDispose(bool disposeManagedResources)
Parameters
disposeManagedResourcesboolIf true, managed resources should be disposed of in addition to unmanaged resources.
Operators
implicit operator HullShaderType(HullShader)
public static implicit operator HullShaderType(HullShader s)