Class BufferParameterBinding
This class represents a parameter property of a constant buffer. Used un WebGL1 and OpenGL ES 2.0.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public class BufferParameterBinding
  Fields
ArrayCount
In case of array, specify the parameter array size.
Declaration
public int ArrayCount
  Field Value
| Type | Description | 
|---|---|
| int | 
CBufferSlot
The constant slot.
Declaration
public int CBufferSlot
  Field Value
| Type | Description | 
|---|---|
| int | 
Name
The parameter name.
Declaration
public string Name
  Field Value
| Type | Description | 
|---|---|
| string | 
Offset
Offset of this parameter in the buffer.
Declaration
public int Offset
  Field Value
| Type | Description | 
|---|---|
| int | 
ParameterType
The buffer parameter type.
Declaration
public BufferParameterBinding.BufferParameterType ParameterType
  Field Value
| Type | Description | 
|---|---|
| BufferParameterBinding.BufferParameterType | 
Methods
FromType(Type)
Gets the buffer parameter type from a string type.
Declaration
public static BufferParameterBinding.BufferParameterType FromType(Type type)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Type | type | The type.  | 
      
Returns
| Type | Description | 
|---|---|
| BufferParameterBinding.BufferParameterType | float.  |