Click or drag to resize

ShaderParamInfo Structure

Contains information about a shader parameter (uniform parameter).

Namespace:  Fusee.Engine.Common
Assembly:  Fusee.Engine.Common (in Fusee.Engine.Common.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public struct ShaderParamInfo

The ShaderParamInfo type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldHandle
The Handle to be used when setting or getting the parameter value from the shader.
Public fieldName
Contains the name of the shader parameter.
Public fieldSize
Contains the number of items stored under this parameter name. Only differs from 1 if the parameter is a uniform array. If Size > 1 this value represents the number of array entries.
Public fieldType
Contains the type of the shader parameter.
Top
See Also