TypedBuffer Class
This page contains documentation for advanced Fuse features, so we have
taken the liberty to tick the "Show advanced things" checkbox above for
you in advance to be able to provide you with some additional information.
Provides a type-friendly wrapper for buffers and device buffers.
This also provides a logical collection on top of the buffer. The "Count", "Reset", and "Append" functions work on this logical set. The buffer will be dynamically resized as necessary.
The "Set" operation is directly on the buffer and ignores the logical set.
UNO: This is really ugly now. I can't figure out how to make this generic on the type. Thus each type needs its own derived class! (NOTE: I've just removed the generic for now)
Location
- Namespace
- Fuse.Drawing.Internal
- Package
- Fuse.Drawing 2.9.1
Interface of TypedBuffer
capacity : int uno
CheckGrow uno
Clear uno
Count : int uno
GetBytes : byte[] uno
GetDeviceIndex : IndexBuffer uno
GetDeviceVertex : VertexBuffer uno
Init(int) uno
InitDeviceIndex(BufferUsage) uno
Creates a device index buffer for this buffer.