All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
graphics_enums.hpp File Reference

Core renderer. More...

Classes

struct  kanzi::Uniform
 
struct  kanzi::Attribute
 
class  kanzi::VertexAttribute
 

Namespaces

 kanzi
 

Macros

#define KANZI_RENDERER_MAX_TEXTURE_UNITS
 
#define KANZI_RENDERER_MAX_VERTEX_ATTRIBUTES
 Maximum amount of shader vertex attributes. More...
 
#define KANZI_RENDERER_BUFFER_VALUE_NONE
 Null value for buffers, that is, vertex & index buffer. More...
 
#define KANZI_RENDERER_ENABLE_UNIFORM_CACHE
 Flag for rendering client vertex arrays using VBO. More...
 
#define KANZI_GPU_BUFFER_MANAGER_ENABLED
 Is the GPU buffer manager in use. More...
 

Enumerations

enum  kanzi::GraphicsClearTarget { kanzi::GraphicsClearTargetColor, kanzi::GraphicsClearTargetDepth, kanzi::GraphicsClearTargetStencil, kanzi::GraphicsClearTargetCoverage }
 Clear target options for renderer. More...
 
enum  kanzi::GraphicsCullMode { kanzi::GraphicsCullModeNone, kanzi::GraphicsCullModeBack, kanzi::GraphicsCullModeFront }
 List of available cull modes. More...
 
enum  kanzi::GraphicsScalar { kanzi::GraphicsScalarClearDepth, kanzi::GraphicsScalarCameraNearPlane, kanzi::GraphicsScalarCameraFarPlane, kanzi::GraphicsScalarCount }
 List of active renderer scalars for fixed functionality. More...
 
enum  kanzi::GraphicsCompareFunction {
  kanzi::GraphicsCompareFunctionNever, kanzi::GraphicsCompareFunctionLess, kanzi::GraphicsCompareFunctionLessOrEqual, kanzi::GraphicsCompareFunctionGreater,
  kanzi::GraphicsCompareFunctionGreaterOrEqual, kanzi::GraphicsCompareFunctionEqual, kanzi::GraphicsCompareFunctionNotEqual, kanzi::GraphicsCompareFunctionAlways,
  kanzi::GraphicsCompareFunctionDisabled
}
 Renderer stencil modes. More...
 
enum  kanzi::GraphicsStencilOperation {
  kanzi::GraphicsStencilOperationKeep, kanzi::GraphicsStencilOperationZero, kanzi::GraphicsStencilOperationReplace, kanzi::GraphicsStencilOperationIncrementWrap,
  kanzi::GraphicsStencilOperationDecrementWrap, kanzi::GraphicsStencilOperationIncrement, kanzi::GraphicsStencilOperationDecrement, kanzi::GraphicsStencilOperationInvert
}
 Renderer stencil operations. More...
 
enum  kanzi::GraphicsColorWriteMode {
  kanzi::GraphicsColorWriteModeNone, kanzi::GraphicsColorWriteModeRGB, kanzi::GraphicsColorWriteModeRGBA, kanzi::GraphicsColorWriteModeR,
  kanzi::GraphicsColorWriteModeG, kanzi::GraphicsColorWriteModeB, kanzi::GraphicsColorWriteModeGB, kanzi::GraphicsColorWriteModeA
}
 List of color write modes. More...
 
enum  kanzi::GraphicsBlendMode {
  kanzi::GraphicsBlendModeOpaque, kanzi::GraphicsBlendModeAlpha, kanzi::GraphicsBlendModeAdditive, kanzi::GraphicsBlendModePremultipliedAlpha,
  kanzi::GraphicsBlendModeMixedAlpha
}
 List of renderer blend modes. More...
 
enum  kanzi::GraphicsPrimitiveType {
  kanzi::GraphicsPrimitiveTypeInvalid, kanzi::GraphicsPrimitiveTypePoints, kanzi::GraphicsPrimitiveTypeLines, kanzi::GraphicsPrimitiveTypeLineLoop,
  kanzi::GraphicsPrimitiveTypeLineStrip, kanzi::GraphicsPrimitiveTypeTriangles, kanzi::GraphicsPrimitiveTypeTriangleStrip, kanzi::GraphicsPrimitiveTypeTriangleFan
}
 Enumeration for index buffer primitive type. More...
 
enum  kanzi::GraphicsFillMode { kanzi::GraphicsFillModeSolid, kanzi::GraphicsFillModeWireframe }
 
enum  kanzi::ShaderType { kanzi::ShaderTypeInvalid, kanzi::ShaderTypeVertex, kanzi::ShaderTypeFragment }
 List of shader types. More...
 

Functions

KANZI_API VertexAttribute::Semantic kanzi::semanticFromString (kzString name)
 

Detailed Description

Core renderer.

Contains the graphics state machine.

Copyright 2008-2020 by Rightware. All rights reserved.

Macro Definition Documentation

#define KANZI_RENDERER_MAX_TEXTURE_UNITS
#define KANZI_RENDERER_MAX_VERTEX_ATTRIBUTES

Maximum amount of shader vertex attributes.

#define KANZI_RENDERER_BUFFER_VALUE_NONE

Null value for buffers, that is, vertex & index buffer.

#define KANZI_RENDERER_ENABLE_UNIFORM_CACHE

Flag for rendering client vertex arrays using VBO.

Defines if uniform cache is enabled, can be disabled if CPU is bottleneck instead of GPU.

#define KANZI_GPU_BUFFER_MANAGER_ENABLED

Is the GPU buffer manager in use.