ezEngine  Release 25.03
ezShaderBindFlags Struct Reference

Classes

struct  Bits
 

Public Types

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

Member Enumeration Documentation

◆ Enum

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: