Click or drag to resize

Shader Structure

Represents a single compiled shader component.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct Shader : IDisposable, IEquatable<Shader>

The Shader type exposes the following members.

Constructors
  NameDescription
Public methodShader
Initializes a new instance of the Shader struct.
Top
Properties
  NameDescription
Public propertyUniforms
The set of uniforms exposed by the shader.
Top
Methods
  NameDescription
Public methodDispose
Releases the shader.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Shader)
Determines whether the specified object is equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetName
Sets the name of the shader, for debug display purposes.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic memberInequality
Implements the inequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberInvalid
Represents an invalid handle.
Top
Extension Methods
See Also