Gpu |
public class GpuDynamicMemoryBlock<T> : GpuDeviceComponent where T : struct, new()
The GpuDynamicMemoryBlockT type exposes the following members.
Name | Description | |
---|---|---|
DescriptorSets | Optional DescriptorSets that may be set by the used of this class to store the used DescriptorSets. | |
GpuBuffers | GpuBuffers that are used to store the data (for example materials data). | |
IsDataChanged | ||
IsEmpty | ||
IsFull | ||
ItemsCapacity | ||
MemoryBlock |
Name | Description | |
---|---|---|
AddNewGpuBuffer | ||
Create | ||
Dispose | (Overrides ComponentBaseDispose(Boolean)) | |
FreeIndex | ||
GetNextFreeIndex | ||
MarkDataChanged | 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. | |
Update | Update method updates the GpuBuffer in case the data has changed (in this case true is returned). |