LogicalGroupExtensions Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Various extension methods usedful to use with LogicalGroup.
public static class LogicalGroupExtensions
Name | Description | |
---|---|---|
Methods | ||
ProcessLogicalGroup(ParameterCollectionLayout, RenderSystemResourceGroupLayout, ref LogicalGroup) | Adds a LogicalGroup layout to a ParameterCollectionLayout, so that it is later easy to use with UpdateLogicalGroup(ResourceGroup, ref LogicalGroup, ParameterCollection, Int32, Int32). |
|
UpdateLogicalGroup(ResourceGroup, ref LogicalGroup, ParameterCollection, Int32, Int32) | Copies a full logical group of descriptors and data from a ParameterCollection to a ResourceGroup. |
Methods
ProcessLogicalGroup(ParameterCollectionLayout, RenderSystemResourceGroupLayout, ref LogicalGroup)
Adds a LogicalGroup layout to a ParameterCollectionLayout, so that it is later easy to use with UpdateLogicalGroup(ResourceGroup, ref LogicalGroup, ParameterCollection, Int32, Int32).
public static void ProcessLogicalGroup(this ParameterCollectionLayout parameterCollectionLayout, RenderSystemResourceGroupLayout resourceGroupLayout, ref LogicalGroup logicalGroup)
Parameters
Type | Name | Description |
---|---|---|
ParameterCollectionLayout | parameterCollectionLayout | |
RenderSystemResourceGroupLayout | resourceGroupLayout | |
LogicalGroup | logicalGroup |
UpdateLogicalGroup(ResourceGroup, ref LogicalGroup, ParameterCollection, Int32, Int32)
Copies a full logical group of descriptors and data from a ParameterCollection to a ResourceGroup.
public static void UpdateLogicalGroup(this ResourceGroup resourceGroup, ref LogicalGroup logicalGroup, ParameterCollection sourceParameters, int sourceDescriptorSlotStart = 0, int sourceOffset = 0)
Parameters
Type | Name | Description |
---|---|---|
ResourceGroup | resourceGroup | The target resource group to update. |
LogicalGroup | logicalGroup | The logical group. |
ParameterCollection | sourceParameters | The source values. |
System.Int32 | sourceDescriptorSlotStart | The source descriptor start slot (in case it contains other data before in the layout). |
System.Int32 | sourceOffset | The source data start offset (in case it contains other data before in the layout). |