Click or drag to resize

Uniform Structure

Represents a shader uniform.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.SharpBgfxUniform

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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 methodGetTypeGets 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(Uniform, Uniform) Implements the equality operator.
Public operatorStatic memberInequality(Uniform, Uniform) Implements the inequality operator.
Top
Fields
 NameDescription
Public fieldStatic memberInvalid Represents an invalid handle.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also