ezEngine  Milestone 7
ezShaderBindFlags Struct Reference

Classes

struct  Bits
 

Public Types

enum  Enum {
  None = 0, ForceRebind = EZ_BIT(0), NoRasterizerState = EZ_BIT(1), NoDepthStencilState = EZ_BIT(2),
  NoBlendState = EZ_BIT(3), NoStateBinding = NoRasterizerState | NoDepthStencilState | NoBlendState, Default = None
}
 
typedef ezUInt32 StorageType
 

Class Documentation

struct ezShaderBindFlags::Bits
Class Members
StorageType ForceRebind: 1
StorageType NoBlendState: 1
StorageType NoDepthStencilState: 1
StorageType NoRasterizerState: 1

Member Enumeration Documentation

Enumerator
None 

No flags causes the default shader binding behavior (all render states are applied)

ForceRebind 

Executes shader binding (and state setting), even if the shader hasn't changed. Use this, when the same shader was previously used with custom bound states.

NoRasterizerState 

The rasterizer state that is associated with the shader will not be bound. Use this when you intend to bind a custom rasterizer.

NoDepthStencilState 

The depth-stencil state that is associated with the shader will not be bound. Use this when you intend to bind a custom depth-stencil.

NoBlendState 

The blend state that is associated with the shader will not be bound. Use this when you intend to bind a custom blend.


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