Class BufferParameterBinding
This class represents a parameter property of a constant buffer. Used in WebGL1 and OpenGL ES 2.0.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public class BufferParameterBinding
Fields
ArrayCount
In the case of an 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 name of the parameter.
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 type of the buffer parameter.
Declaration
public BufferParameterBinding.BufferParameterType ParameterType
Field Value
Type | Description |
---|---|
BufferParameterBinding.BufferParameterType |
Methods
FromType(Type)
Gets the buffer parameter type from a string value.
Declaration
public static BufferParameterBinding.BufferParameterType FromType(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type. |
Returns
Type | Description |
---|---|
BufferParameterBinding.BufferParameterType | float. |