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: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
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 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