Cogs.Rendering
Loading...
Searching...
No Matches
Public Types | List of all members
Cogs::BindFlags Struct Reference

Bind flags describe how a resource can be used by the graphics pipeline. More...

#include <Flags.h>

Public Types

enum  EBindFlags {
  None = 0x00L , VertexBuffer = 0x01L , IndexBuffer = 0x02L , ConstantBuffer = 0x04L ,
  StreamOutBuffer = 0x08L , ShaderResource = 0x10L , RawBuffer = 0x20L , StructuredBuffer = 0x40L ,
  StructuredBufferWithCounter = 0x80L
}
 Bind flags enumeration. More...
 

Detailed Description

Bind flags describe how a resource can be used by the graphics pipeline.

These flags can be combined.

Member Enumeration Documentation

◆ EBindFlags

Bind flags enumeration.

Enumerator
None 

The buffer will not be bound to the graphics pipeline. Suitable for staging resources.

VertexBuffer 

The buffer can be bound as input to the vertex shader stage as a vertex buffer.

IndexBuffer 

The buffer can be bound as input to the vertex shader stage as an index buffer.

ConstantBuffer 

The buffer can be bound as input to effects as a constant buffer.

StreamOutBuffer 

The buffer can be bound as stream output to receive transform feedback results.

ShaderResource 

The buffer can be bound as a shader resource and read from shaders.

RawBuffer 

The buffer can be bound as a byte address buffer and read or written from shaders.

StructuredBuffer 

The buffer can be bound as a structured buffer and read or written from shaders.

StructuredBufferWithCounter 

The buffer can be bound as a structured buffer and read or written from shaders, with an additional atomic counter.


The documentation for this struct was generated from the following file: