Class LogicalGroupExtensions
Various extension methods usedful to use with LogicalGroup.
public static class LogicalGroupExtensions
- Inheritance
-
LogicalGroupExtensions
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, int, int).
public static void ProcessLogicalGroup(this ParameterCollectionLayout parameterCollectionLayout, RenderSystemResourceGroupLayout resourceGroupLayout, ref LogicalGroup logicalGroup)
Parameters
parameterCollectionLayout
ParameterCollectionLayoutresourceGroupLayout
RenderSystemResourceGroupLayoutlogicalGroup
LogicalGroup
UpdateLogicalGroup(ResourceGroup, ref LogicalGroup, ParameterCollection, int, int)
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
resourceGroup
ResourceGroupThe target resource group to update.
logicalGroup
LogicalGroupThe logical group.
sourceParameters
ParameterCollectionThe source values.
sourceDescriptorSlotStart
intThe source descriptor start slot (in case it contains other data before in the layout).
sourceOffset
intThe source data start offset (in case it contains other data before in the layout).