Class Shader
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
A device resource encapsulating a single shader module. See ShaderDescription.
public abstract class Shader : DeviceResource, IDisposable
- Inheritance
-
Shader
- Implements
- Inherited Members
Properties
EntryPoint
The name of the entry point function.
public string EntryPoint { get; }
Property Value
IsDisposed
A bool indicating whether this instance has been disposed.
public abstract bool IsDisposed { get; }
Property Value
Name
A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.
public abstract string Name { get; set; }
Property Value
Stage
The shader stage this instance can be used in.
public ShaderStages Stage { get; }
Property Value
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
public abstract void Dispose()