Show / Hide Table of Contents

Class Shader

A device resource encapsulating a single shader module. See ShaderDescription.

Inheritance
System.Object
Shader
Implements
DeviceResource
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public abstract class Shader : DeviceResource, IDisposable

Properties

EntryPoint

The name of the entry point function.

Declaration
public string EntryPoint { get; }
Property Value
Type Description
System.String

IsDisposed

A bool indicating whether this instance has been disposed.

Declaration
public abstract bool IsDisposed { get; }
Property Value
Type Description
System.Boolean

Name

A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.

Declaration
public abstract string Name { get; set; }
Property Value
Type Description
System.String

Stage

The shader stage this instance can be used in.

Declaration
public ShaderStages Stage { get; }
Property Value
Type Description
ShaderStages

Methods

Dispose()

Frees unmanaged device resources controlled by this instance.

Declaration
public abstract void Dispose()

Implements

DeviceResource
System.IDisposable
Back to top