Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
PipelineState.cpp File Reference
#include "precompiled.h"
#include "PipelineState.h"
#include <limits>
Include dependency graph for PipelineState.cpp:

Namespaces

namespace  Renderer
 
namespace  Renderer::Backend
 

Macros

#define CASE(NAME)   if (str == #NAME) return StencilOp::NAME
 
#define CASE(NAME, VALUE)   if (str == NAME) return BlendFactor::VALUE
 
#define CASE(NAME)   if (str == #NAME) return BlendOp::NAME
 

Functions

SGraphicsPipelineStateDesc Renderer::Backend::MakeDefaultGraphicsPipelineStateDesc ()
 
StencilOp Renderer::Backend::ParseStencilOp (const CStr &str)
 
BlendFactor Renderer::Backend::ParseBlendFactor (const CStr &str)
 
BlendOp Renderer::Backend::ParseBlendOp (const CStr &str)
 
PolygonMode Renderer::Backend::ParsePolygonMode (const CStr &str)
 
CullMode Renderer::Backend::ParseCullMode (const CStr &str)
 
FrontFace Renderer::Backend::ParseFrontFace (const CStr &str)
 

Macro Definition Documentation

◆ CASE [1/3]

#define CASE (   NAME)    if (str == #NAME) return StencilOp::NAME

◆ CASE [2/3]

#define CASE (   NAME)    if (str == #NAME) return BlendOp::NAME

◆ CASE [3/3]

#define CASE (   NAME,
  VALUE 
)    if (str == NAME) return BlendFactor::VALUE