Struct CBufferFieldEngineData
Represents a constant buffer parameter injected by Evergine.
Namespace: Evergine.Framework.Graphics.Effects
Assembly: Evergine.Framework.dll
Syntax
public struct CBufferFieldEngineData
Constructors
CBufferFieldEngineData(ParameterInfo)
Initializes a new instance of the CBufferFieldEngineData struct.
Declaration
public CBufferFieldEngineData(ParameterInfo parameterInfo)
Parameters
Type | Name | Description |
---|---|---|
ParameterInfo | parameterInfo | Parameter info. |
Fields
FieldDataUpdater
The field data updater delegate is executed to update a field parameter.
Declaration
public CBufferFieldEngineData.FieldDataUpdaterDelegate FieldDataUpdater
Field Value
Type | Description |
---|---|
CBufferFieldEngineData.FieldDataUpdaterDelegate |
ParameterInfo
Gets or sets the parameter information.
Declaration
public ParameterInfo ParameterInfo
Field Value
Type | Description |
---|---|
ParameterInfo |
Methods
SetField(ConstantBuffer, long, IEngineShaderParameters)
Sets the field.
Declaration
public void SetField(ConstantBuffer cB, long ptr, IEngineShaderParameters engineShaderParameters)
Parameters
Type | Name | Description |
---|---|---|
ConstantBuffer | cB | The constant buffer. |
long | ptr | The field pointer. |
IEngineShaderParameters | engineShaderParameters | The engine shader parameters. |