BufferFactory
Description
- Derived from
- Extended by
-
DirectX11BufferFactory sealed
DirectX12BufferFactory sealed
DirectX9BufferFactory sealed
OpenGLBufferFactory sealed
OpenGLESBufferFactory sealed
Abstract base class for IBufferFactory implementations.
The default implementations in this class do not support structured buffers. If a subclass wishes to provide support for structured buffers, the following members must be overridden:
Protected / Methods
ThrowIfCustomSemantic
Throws a RenderException if the given buffer flags indicate a custom semantic (draw, work, mesh).
- RenderException
-
If flags in indicate a custom semantic.
ThrowIfInvalid
3 overloads
Throws a RenderException if the given vertex elements are not supported.
- RenderException
-
If one or more elements in format in are not supported.
Throws a RenderException if the given buffer parameters are unsupported.
- RenderException
-
If the given buffer parameters are not supported.
Throws a RenderException if the given buffer parameters are unsupported.
- RenderException
-
If the given buffer parameters are not supported.