Go to the documentation of this file.
40 #define DEFINE_TYPE_PRINTER(Type, PrintFunction, ...) \
41 inline std::ostream& operator<<(std::ostream& os, const Type& Obj) \
43 return os << PrintFunction(Obj, ##__VA_ARGS__); \
68 #undef DEFINE_TYPE_PRINTER
struct TextureDesc TextureDesc
Definition: Texture.h:162
SHADER_TYPE
Describes the shader type.
Definition: GraphicsTypes.h:65
USAGE
Resource usage.
Definition: GraphicsTypes.h:143
const Char * GetStencilOpLiteralName(STENCIL_OP StencilOp)
Returns the literal name of a stencil operation.
Definition: GraphicsAccessories.cpp:641
SHADER_RESOURCE_TYPE
Describes shader resource type.
Definition: Shader.h:356
TEXTURE_ADDRESS_MODE
Texture address mode.
Definition: GraphicsTypes.h:889
String GetTextureDescString(const TextureDesc &Desc)
Returns the string containing the texture description.
Definition: GraphicsAccessories.cpp:920
String GetBufferFormatString(const BufferFormat &Fmt)
Returns the string containing the buffer format description.
Definition: GraphicsAccessories.cpp:992
const Char * GetComparisonFunctionLiteralName(COMPARISON_FUNCTION ComparisonFunc, bool bGetFullName)
Returns the literal name of a comparison function. For instance, for COMPARISON_FUNC_LESS,...
Definition: GraphicsAccessories.cpp:619
FILTER_TYPE
Filter type.
Definition: GraphicsTypes.h:864
FILL_MODE
Fill mode.
Definition: RasterizerState.h:46
TEXTURE_VIEW_TYPE
Texture view type.
Definition: GraphicsTypes.h:274
const Char * GetTexViewTypeLiteralName(TEXTURE_VIEW_TYPE ViewType)
Returns the literal name of a texture view type. For instance, for a shader resource view,...
Definition: GraphicsAccessories.cpp:408
const Char * GetBlendOperationLiteralName(BLEND_OPERATION BlendOp)
Returns the literal name of a blend operation.
Definition: GraphicsAccessories.cpp:700
BLEND_FACTOR
Blend factors.
Definition: BlendState.h:50
const Char * GetValueTypeString(VALUE_TYPE Val)
Returns the string representing the specified value type.
Definition: GraphicsAccessories.cpp:38
const Char * GetBlendFactorLiteralName(BLEND_FACTOR BlendFactor)
Returns the literal name of a blend factor.
Definition: GraphicsAccessories.cpp:666
const Char * GetFilterTypeLiteralName(FILTER_TYPE FilterType, bool bGetFullName)
Returns the literal name of a filter type. For instance, for FILTER_TYPE_POINT, if bGetFullName == tr...
Definition: GraphicsAccessories.cpp:574
CULL_MODE
Cull mode.
Definition: RasterizerState.h:69
const Char * GetResourceStateFlagString(RESOURCE_STATE State)
Returns the string containing the buffer mode description.
Definition: GraphicsAccessories.cpp:1045
const Char * GetMapTypeString(MAP_TYPE MapType)
Returns the string containing the map type.
Definition: GraphicsAccessories.cpp:761
VALUE_TYPE
Value type.
Definition: GraphicsTypes.h:49
String GetBufferDescString(const BufferDesc &Desc)
Returns the string containing the buffer description.
Definition: GraphicsAccessories.cpp:1003
struct BufferDesc BufferDesc
Definition: Buffer.h:152
const Char * GetUsageString(USAGE Usage)
Returns the string containing the usage.
Definition: GraphicsAccessories.cpp:776
COMPARISON_FUNCTION
Comparison function.
Definition: GraphicsTypes.h:931
BUFFER_MODE
Describes the buffer access mode.
Definition: Buffer.h:48
#define DEFINE_TYPE_PRINTER(Type, PrintFunction,...)
Definition: GraphicsTypesOutputInserters.hpp:40
STENCIL_OP
Stencil operation.
Definition: DepthStencilState.h:48
const Char * GetBufferViewTypeLiteralName(BUFFER_VIEW_TYPE ViewType)
Returns the literal name of a buffer view type. For instance, for an unordered access view,...
Definition: GraphicsAccessories.cpp:443
const Char * GetFillModeLiteralName(FILL_MODE FillMode)
Returns the literal name of a fill mode.
Definition: GraphicsAccessories.cpp:722
const Char * GetShaderVariableTypeLiteralName(SHADER_RESOURCE_VARIABLE_TYPE VarType, bool bGetFullName=false)
Returns the literal name of a shader variable type. For instance, for SHADER_RESOURCE_VARIABLE_TYPE_S...
Definition: GraphicsAccessories.cpp:524
BLEND_OPERATION
Blending operation.
Definition: BlendState.h:138
const Char * GetShaderTypeLiteralName(SHADER_TYPE ShaderType)
Returns the literal name of a shader type. For instance, for a pixel shader, "SHADER_TYPE_PIXEL" will...
Definition: GraphicsAccessories.cpp:476
const Char * GetShaderResourceTypeLiteralName(SHADER_RESOURCE_TYPE ResourceType, bool bGetFullName=false)
Returns the literal name of a shader resource type. For instance, for SHADER_RESOURCE_TYPE_CONSTANT_B...
Definition: GraphicsAccessories.cpp:552
const Char * GetBufferModeString(BUFFER_MODE Mode)
Returns the string containing the buffer mode description.
Definition: GraphicsAccessories.cpp:966
RESOURCE_STATE
Resource usage state.
Definition: GraphicsTypes.h:2814
RESOURCE_DIMENSION
Describes resource dimension.
Definition: GraphicsTypes.h:256
const Char * GetTextureAddressModeLiteralName(TEXTURE_ADDRESS_MODE AddressMode, bool bGetFullName)
Returns the literal name of a texture address mode. For instance, for TEXTURE_ADDRESS_WRAP,...
Definition: GraphicsAccessories.cpp:600
BUFFER_VIEW_TYPE
Buffer view type.
Definition: GraphicsTypes.h:303
MAP_TYPE
Resource mapping type.
Definition: GraphicsTypes.h:206
const Char * GetCullModeLiteralName(CULL_MODE CullMode)
Returns the literal name of a cull mode.
Definition: GraphicsAccessories.cpp:741
const Char * GetResourceDimString(RESOURCE_DIMENSION TexType)
Returns the string containing the texture type.
Definition: GraphicsAccessories.cpp:804
struct BufferFormat BufferFormat
Definition: BufferView.h:85
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
SHADER_RESOURCE_VARIABLE_TYPE
Describes the type of the shader resource variable.
Definition: ShaderResourceVariable.h:48