LLGL 0.05 Beta
Loading...
Searching...
No Matches
PipelineStateFlags.h File Reference
#include <LLGL/Export.h>
#include <LLGL/Types.h>
#include <LLGL/Format.h>
#include <LLGL/ForwardDecls.h>
#include <LLGL/Constants.h>
#include <LLGL/Container/DynamicVector.h>
#include <LLGL/Deprecated.h>
#include <LLGL/VertexAttribute.h>
#include <cstdint>

Classes

struct  LLGL::ColorMaskFlags
 Blend target color mask flags. More...
struct  LLGL::Viewport
 Viewport dimensions. More...
struct  LLGL::Scissor
 Scissor dimensions. More...
struct  LLGL::DepthDescriptor
 Depth state descriptor structure. More...
struct  LLGL::StencilFaceDescriptor
 Stencil face descriptor structure. More...
struct  LLGL::StencilDescriptor
 Stencil state descriptor structure. More...
struct  LLGL::DepthBiasDescriptor
 Depth bias descriptor structure to control fragment depth values. More...
struct  LLGL::RasterizerDescriptor
 Rasterizer state descriptor structure. More...
struct  LLGL::BlendTargetDescriptor
 Blend target state descriptor structure. More...
struct  LLGL::BlendDescriptor
 Blending state descriptor structure. More...
struct  LLGL::TessellationDescriptor
 Tessellation descriptor structure for the graphics pipeline. More...
struct  LLGL::GraphicsPipelineDescriptor
 Graphics pipeline state descriptor structure. More...
struct  LLGL::ComputePipelineDescriptor
 Compute pipeline state descriptor structure. More...
struct  LLGL::MeshPipelineDescriptor
 Mesh pipeline state descriptor structure. More...

Namespaces

namespace  LLGL

Enumerations

enum class  LLGL::PrimitiveTopology {
  LLGL::PointList , LLGL::LineList , LLGL::LineStrip , LLGL::LineListAdjacency ,
  LLGL::LineStripAdjacency , LLGL::TriangleList , LLGL::TriangleStrip , LLGL::TriangleListAdjacency ,
  LLGL::TriangleStripAdjacency , LLGL::Patches1 , LLGL::Patches2 , LLGL::Patches3 ,
  LLGL::Patches4 , LLGL::Patches5 , LLGL::Patches6 , LLGL::Patches7 ,
  LLGL::Patches8 , LLGL::Patches9 , LLGL::Patches10 , LLGL::Patches11 ,
  LLGL::Patches12 , LLGL::Patches13 , LLGL::Patches14 , LLGL::Patches15 ,
  LLGL::Patches16 , LLGL::Patches17 , LLGL::Patches18 , LLGL::Patches19 ,
  LLGL::Patches20 , LLGL::Patches21 , LLGL::Patches22 , LLGL::Patches23 ,
  LLGL::Patches24 , LLGL::Patches25 , LLGL::Patches26 , LLGL::Patches27 ,
  LLGL::Patches28 , LLGL::Patches29 , LLGL::Patches30 , LLGL::Patches31 ,
  LLGL::Patches32
}
 Primitive topology enumeration. More...
enum class  LLGL::CompareOp {
  LLGL::NeverPass , LLGL::Less , LLGL::Equal , LLGL::LessEqual ,
  LLGL::Greater , LLGL::NotEqual , LLGL::GreaterEqual , LLGL::AlwaysPass
}
 Compare operations enumeration. More...
enum class  LLGL::StencilOp {
  LLGL::Keep , LLGL::Zero , LLGL::Replace , LLGL::IncClamp ,
  LLGL::DecClamp , LLGL::Invert , LLGL::IncWrap , LLGL::DecWrap
}
 Stencil operations enumeration. More...
enum class  LLGL::BlendOp {
  LLGL::Zero , LLGL::One , LLGL::SrcColor , LLGL::InvSrcColor ,
  LLGL::SrcAlpha , LLGL::InvSrcAlpha , LLGL::DstColor , LLGL::InvDstColor ,
  LLGL::DstAlpha , LLGL::InvDstAlpha , LLGL::SrcAlphaSaturate , LLGL::BlendFactor ,
  LLGL::InvBlendFactor , LLGL::Src1Color , LLGL::InvSrc1Color , LLGL::Src1Alpha ,
  LLGL::InvSrc1Alpha
}
 Blending operations enumeration. More...
enum class  LLGL::BlendArithmetic {
  LLGL::Add , LLGL::Subtract , LLGL::RevSubtract , LLGL::Min ,
  LLGL::Max
}
 Blending arithmetic operations enumeration. More...
enum class  LLGL::PolygonMode { LLGL::Fill , LLGL::Wireframe , LLGL::Points }
 Polygon filling modes enumeration. More...
enum class  LLGL::CullMode { LLGL::Disabled , LLGL::Front , LLGL::Back }
 Polygon culling modes enumeration. More...
enum class  LLGL::LogicOp {
  LLGL::Disabled , LLGL::Clear , LLGL::Set , LLGL::Copy ,
  LLGL::CopyInverted , LLGL::NoOp , LLGL::Invert , LLGL::AND ,
  LLGL::ANDReverse , LLGL::ANDInverted , LLGL::NAND , LLGL::OR ,
  LLGL::ORReverse , LLGL::ORInverted , LLGL::NOR , LLGL::XOR ,
  LLGL::Equiv
}
 Logical pixel operation enumeration. More...
enum class  LLGL::TessellationPartition {
  LLGL::Undefined , LLGL::Integer , LLGL::Pow2 , LLGL::FractionalOdd ,
  LLGL::FractionalEven
}
 Tessellation partition mode enumeration. More...

Functions

LLGL_EXPORT bool LLGL::IsPrimitiveTopologyPatches (const PrimitiveTopology primitiveTopology)
 Returns true if the specified primitive topology is a patch list.
LLGL_EXPORT bool LLGL::IsPrimitiveTopologyStrip (const PrimitiveTopology primitiveTopology)
 Returns true if the specified primitive topology is a strip that generates a new primitive with each new vertex.
LLGL_EXPORT std::uint32_t LLGL::GetPrimitiveTopologyPatchSize (const PrimitiveTopology primitiveTopology)
 Returns the number of patch control points of the specified primitive topology (in range [1, 32]), or 0 if the topology is not a patch list.