Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_renderer_types.h File Reference

Specifies renderer types. More...

#include <system/kzs_types.h>

Enumerations

enum  KzuCullMode { KZU_CULL_MODE_NONE, KZU_CULL_MODE_BACK, KZU_CULL_MODE_FRONT }
 Enumeration for face culling mode. More...
 
enum  KzuColorWriteMode {
  KZU_COLOR_WRITE_NONE, KZU_COLOR_WRITE_RGB, KZU_COLOR_WRITE_RGBA, KZU_COLOR_WRITE_GRAYSCALE,
  KZU_COLOR_WRITE_RED, KZU_COLOR_WRITE_GREEN, KZU_COLOR_WRITE_BLUE, KZU_COLOR_WRITE_ALPHA
}
 Enumeration for color write mode. More...
 
enum  KzuStencilOperation {
  KZU_STENCIL_OPERATION_KEEP, KZU_STENCIL_OPERATION_ZERO, KZU_STENCIL_OPERATION_REPLACE, KZU_STENCIL_OPERATION_INCREASE,
  KZU_STENCIL_OPERATION_INCREASE_WRAP, KZU_STENCIL_OPERATION_DECREASE, KZU_STENCIL_OPERATION_DECREASE_WRAP, KZU_STENCIL_OPERATION_INVERT
}
 Enumeration for stencil operation. More...
 
enum  KzuStencilFunction {
  KZU_STENCIL_FUNCTION_NEVER, KZU_STENCIL_FUNCTION_ALWAYS, KZU_STENCIL_FUNCTION_LESS, KZU_STENCIL_FUNCTION_LEQUAL,
  KZU_STENCIL_FUNCTION_GREATER, KZU_STENCIL_FUNCTION_GEQUAL, KZU_STENCIL_FUNCTION_EQUAL, KZU_STENCIL_FUNCTION_NOT_EQUAL
}
 Enumeration for stencil function. More...
 

Detailed Description

Specifies renderer types.

Copyright 2008-2019 by Rightware. All rights reserved.

Enumeration Type Documentation

Enumeration for face culling mode.

Enumerator
KZU_CULL_MODE_NONE 

No culling.

KZU_CULL_MODE_BACK 

Cull back faces.

KZU_CULL_MODE_FRONT 

Cull front faces.

Enumeration for color write mode.

Enumerator
KZU_COLOR_WRITE_NONE 

No write for color channels.

KZU_COLOR_WRITE_RGB 

Write to RGB color channels.

KZU_COLOR_WRITE_RGBA 

Write to RGBA color channels.

KZU_COLOR_WRITE_GRAYSCALE 

Write gray scale.

KZU_COLOR_WRITE_RED 

Write R (red) only.

KZU_COLOR_WRITE_GREEN 

Write G (green) only.

KZU_COLOR_WRITE_BLUE 

Write B (blue) only.

KZU_COLOR_WRITE_ALPHA 

Write A (alpha) only.

Enumeration for stencil operation.

Enumerator
KZU_STENCIL_OPERATION_KEEP 

No operations for stencil buffer.

KZU_STENCIL_OPERATION_ZERO 

Zero the stencil buffer.

KZU_STENCIL_OPERATION_REPLACE 

Replace.

KZU_STENCIL_OPERATION_INCREASE 

Incr.

KZU_STENCIL_OPERATION_INCREASE_WRAP 

Incr wrap.

KZU_STENCIL_OPERATION_DECREASE 

Decr.

KZU_STENCIL_OPERATION_DECREASE_WRAP 

Decr wrap.

KZU_STENCIL_OPERATION_INVERT 

Invert.

Enumeration for stencil function.

Enumerator
KZU_STENCIL_FUNCTION_NEVER 

Always false.

KZU_STENCIL_FUNCTION_ALWAYS 

Always true.

KZU_STENCIL_FUNCTION_LESS 

ref < stencil.

KZU_STENCIL_FUNCTION_LEQUAL 

ref <= stencil.

KZU_STENCIL_FUNCTION_GREATER 

ref > stencil.

KZU_STENCIL_FUNCTION_GEQUAL 

ref >= stencil.

KZU_STENCIL_FUNCTION_EQUAL 

ref = stencil.

KZU_STENCIL_FUNCTION_NOT_EQUAL 

ref != stencil.