Click or drag to resize
Ab4d.SharpEngine logo

GpuDynamicMemoryBlockT Class

Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.CoreGpuDeviceComponent
      Ab4d.SharpEngine.UtilitiesGpuDynamicMemoryBlockT

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class GpuDynamicMemoryBlock<T> : GpuDeviceComponent
where T : struct, new()

Type Parameters

T

The GpuDynamicMemoryBlockT type exposes the following members.

Properties
 NameDescription
Public propertyDescriptorSets Optional DescriptorSets that may be set by the used of this class to store the used DescriptorSets.
Public propertyGpuBuffers GpuBuffers that are used to store the data (for example materials data).
Public propertyIsDataChanged 
Public propertyIsEmpty 
Public propertyIsFull 
Public propertyItemsCapacity 
Public propertyMemoryBlock 
Top
Methods
 NameDescription
Public methodAddNewGpuBuffer 
Public methodStatic memberCreate 
Protected methodDispose
(Overrides ComponentBaseDispose(Boolean))
Public methodFreeIndex 
Public methodGetNextFreeIndex 
Public methodMarkDataChanged MarkDataChanged need to be called after the Data is changed. This will copy the data to the GpuBuffer on next call to Update(Int32) method.
Public methodUpdate Update method updates the GpuBuffer in case the data has changed (in this case true is returned).
Top
See Also