Table of Contents

Struct RenderDataHolder

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Holds associated data used during rendering.

public struct RenderDataHolder
Inherited Members

Methods

ChangeDataMultiplier<T>(EffectObjectPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(EffectObjectPropertyKey<T> key, int multiplier)

Parameters

key EffectObjectPropertyKey<T>
multiplier int

Type Parameters

T

ChangeDataMultiplier<T>(ObjectPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(ObjectPropertyKey<T> key, int multiplier)

Parameters

key ObjectPropertyKey<T>
multiplier int

Type Parameters

T

ChangeDataMultiplier<T>(RenderPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(RenderPropertyKey<T> key, int multiplier)

Parameters

key RenderPropertyKey<T>
multiplier int

Type Parameters

T

ChangeDataMultiplier<T>(StaticObjectPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(StaticObjectPropertyKey<T> key, int multiplier)

Parameters

key StaticObjectPropertyKey<T>
multiplier int

Type Parameters

T

ChangeDataMultiplier<T>(ViewObjectPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(ViewObjectPropertyKey<T> key, int multiplier)

Parameters

key ViewObjectPropertyKey<T>
multiplier int

Type Parameters

T

ChangeDataMultiplier<T>(ViewPropertyKey<T>, int)

Change data multiplier (i.e. how many data entries per item there will be).

public void ChangeDataMultiplier<T>(ViewPropertyKey<T> key, int multiplier)

Parameters

key ViewPropertyKey<T>
multiplier int

Type Parameters

T

Clear()

public void Clear()

CreateEffectObjectKey<T>(EffectObjectPropertyDefinition<T>, int)

public EffectObjectPropertyKey<T> CreateEffectObjectKey<T>(EffectObjectPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition EffectObjectPropertyDefinition<T>
multiplier int

Returns

EffectObjectPropertyKey<T>

Type Parameters

T

CreateObjectKey<T>(ObjectPropertyDefinition<T>, int)

public ObjectPropertyKey<T> CreateObjectKey<T>(ObjectPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition ObjectPropertyDefinition<T>
multiplier int

Returns

ObjectPropertyKey<T>

Type Parameters

T

CreateRenderKey<T>(RenderPropertyDefinition<T>, int)

public RenderPropertyKey<T> CreateRenderKey<T>(RenderPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition RenderPropertyDefinition<T>
multiplier int

Returns

RenderPropertyKey<T>

Type Parameters

T

CreateStaticObjectKey<T>(StaticObjectPropertyDefinition<T>, int)

public StaticObjectPropertyKey<T> CreateStaticObjectKey<T>(StaticObjectPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition StaticObjectPropertyDefinition<T>
multiplier int

Returns

StaticObjectPropertyKey<T>

Type Parameters

T

CreateViewKey<T>(ViewPropertyDefinition<T>, int)

public ViewPropertyKey<T> CreateViewKey<T>(ViewPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition ViewPropertyDefinition<T>
multiplier int

Returns

ViewPropertyKey<T>

Type Parameters

T

CreateViewObjectKey<T>(ViewObjectPropertyDefinition<T>, int)

public ViewObjectPropertyKey<T> CreateViewObjectKey<T>(ViewObjectPropertyDefinition<T> definition = null, int multiplier = 1)

Parameters

definition ViewObjectPropertyDefinition<T>
multiplier int

Returns

ViewObjectPropertyKey<T>

Type Parameters

T

GetData<T>(EffectObjectPropertyKey<T>)

Get data from its key.

public EffectObjectPropertyData<T> GetData<T>(EffectObjectPropertyKey<T> key)

Parameters

key EffectObjectPropertyKey<T>

Returns

EffectObjectPropertyData<T>

Type Parameters

T

GetData<T>(ObjectPropertyKey<T>)

Get data from its key.

public ObjectPropertyData<T> GetData<T>(ObjectPropertyKey<T> key)

Parameters

key ObjectPropertyKey<T>

Returns

ObjectPropertyData<T>

Type Parameters

T

GetData<T>(RenderPropertyKey<T>)

Get data from its key.

public RenderPropertyData<T> GetData<T>(RenderPropertyKey<T> key)

Parameters

key RenderPropertyKey<T>

Returns

RenderPropertyData<T>

Type Parameters

T

GetData<T>(StaticObjectPropertyKey<T>)

Get data from its key.

public StaticObjectPropertyData<T> GetData<T>(StaticObjectPropertyKey<T> key)

Parameters

key StaticObjectPropertyKey<T>

Returns

StaticObjectPropertyData<T>

Type Parameters

T

GetData<T>(ViewObjectPropertyKey<T>)

Get data from its key.

public ViewObjectPropertyData<T> GetData<T>(ViewObjectPropertyKey<T> key)

Parameters

key ViewObjectPropertyKey<T>

Returns

ViewObjectPropertyData<T>

Type Parameters

T

GetData<T>(ViewPropertyKey<T>)

Get data from its key.

public ViewPropertyData<T> GetData<T>(ViewPropertyKey<T> key)

Parameters

key ViewPropertyKey<T>

Returns

ViewPropertyData<T>

Type Parameters

T

Initialize(Func<DataType, int>)

public void Initialize(Func<DataType, int> computeDataArrayExpectedSize)

Parameters

computeDataArrayExpectedSize Func<DataType, int>

PrepareDataArrays()

public void PrepareDataArrays()

SwapRemoveItem(DataType, int, int)

public void SwapRemoveItem(DataType dataType, int source, int dest)

Parameters

dataType DataType
source int
dest int