![]() |
LLGL 0.05 Beta
|
Flags for Buffer and Texture resources that describe for which purposes they will be used. More...
#include <ResourceFlags.h>
Public Types | |
| enum | { VertexBuffer = (1 << 0) , IndexBuffer = (1 << 1) , ConstantBuffer = (1 << 2) , StreamOutputBuffer = (1 << 3) , IndirectBuffer = (1 << 4) , Sampled = (1 << 5) , Storage = (1 << 6) , ColorAttachment = (1 << 7) , DepthStencilAttachment = (1 << 8) , CombinedSampler = (1 << 9) , CopySrc = (1 << 10) , CopyDst = (1 << 11) , TexelBuffer = (1 << 12) } |
Flags for Buffer and Texture resources that describe for which purposes they will be used.
| anonymous enum |
| Enumerator | |
|---|---|
| VertexBuffer | The resource can be used to bind a stream of vertices.
|
| IndexBuffer | The resource can be used to bind a stream of indices.
|
| ConstantBuffer | The resource can be used to bind a set of constants.
|
| StreamOutputBuffer | The resource can be used to bind an output stream buffer (also referred to as "transform feedback").
|
| IndirectBuffer | Hint to the renderer that the resource will hold the arguments for indirect commands.
|
| Sampled | The resource can be used to bind a buffer or texture for read access. |
| Storage | The resource can be used to bind a buffer or texture for unordered read/write access. |
| ColorAttachment | Texture can be used as render target color attachment.
|
| DepthStencilAttachment | Texture can be used as render target depth-stencil attachment.
|
| CombinedSampler | Specifies a resource as a combination of a Texture and Sampler (e.g.
|
| CopySrc | Specifies a resource can be used as source for a copy command. |
| CopyDst | Specifies a resource can be used as destination for a copy or fill command. |
| TexelBuffer | Specifies a resource is bound as texel buffer.
|