Click or drag to resize

Uniform Structure

Represents a shader uniform.

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

The Uniform type exposes the following members.

Constructors
  NameDescription
Public methodUniform
Initializes a new instance of the Uniform struct.
Top
Properties
  NameDescription
Public propertyArraySize
Size of the array, if the uniform is an array type.
Public propertyName
The name of the uniform.
Public propertyType
The type of the data represented by the uniform.
Top
Methods
  NameDescription
Public methodDispose
Releases the uniform.
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Uniform)
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 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