Struct GLUniformBinding
Uniform update helper class.
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public struct GLUniformBinding
Fields
ArrayCount
The count of the array.
Declaration
public int ArrayCount
Field Value
| Type | Description |
|---|---|
| int |
CBufferSlot
The constant buffer slot.
Declaration
public int CBufferSlot
Field Value
| Type | Description |
|---|---|
| int |
Location
The location of the uniform.
Declaration
public int Location
Field Value
| Type | Description |
|---|---|
| int |
Offset
The offset parameter.
Declaration
public int Offset
Field Value
| Type | Description |
|---|---|
| int |
Updater
The uniform updater.
Declaration
public GLUniformUpdaterDelegate Updater
Field Value
| Type | Description |
|---|---|
| GLUniformUpdaterDelegate |
Methods
SetUniform(long)
Sets the uniform data.
Declaration
public void SetUniform(long dataPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| long | dataPtr | The data pointer. |