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

User renderer utilities, e.g. More...

Enumerations

enum  KzuFillMode { KZU_FILL_MODE_SOLID, KZU_FILL_MODE_WIREFRAME }
 Enumeration for polygon fill mode. More...
 

Functions

kzsError kzuRendererSetSolidColor (const struct KzuRenderer *renderer, const struct KzcColorRGBA *color)
 Sets solid color for rendering. More...
 
kzsError kzuRendererApplySolidColorMaterial (struct KzuRenderer *renderer, const struct KzcColorRGBA *color, kzBool *out_isValid)
 Applies a material with the given solid color for rendering. More...
 
kzsError kzuRendererApplyDebugLightMaterial (struct KzuRenderer *renderer, const struct KzcColorRGBA *color, kzBool *out_isValid)
 Applies a material with the given debug color for rendering. More...
 
kzsError kzuRendererDrawLayoutBox (struct KzuRenderer *renderer, const struct KzcVector3 *backBottomLeft, const struct KzcVector3 *frontTopRight, const struct KzcMatrix4x4 *transform, const struct KzcColorRGBA *color)
 Draws a box with the default parameters for layout visualization. More...
 
kzsError kzuRendererDrawBoundingVolume (struct KzuRenderer *renderer, const struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation, enum KzuFillMode fillMode)
 Draws a bounding volume. More...
 
kzsError kzuRendererDrawBoundingVolumeColor (struct KzuRenderer *renderer, const struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation, enum KzuFillMode fillMode, const struct KzcColorRGBA *color)
 Draws a bounding volume. More...
 
kzsError kzuRendererDrawBoundingVolumeRaw (struct KzuRenderer *renderer, const struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation, enum KzuFillMode fillMode)
 Draws a bounding volume. More...
 
kzsError kzuRendererDrawTransformedBoundingVolume (struct KzuRenderer *renderer, const struct KzuTransformedBoundingVolume *volume, enum KzuFillMode fillMode)
 Draws a transformed bounding volume. More...
 
kzsError kzuRendererDrawTransformedBoundingVolumeColor (struct KzuRenderer *renderer, const struct KzuTransformedBoundingVolume *volume, enum KzuFillMode fillMode, const struct KzcColorRGBA *color)
 Draws a transformed bounding volume. More...
 
kzsError kzuRendererDrawTransformedBoundingVolumeRaw (struct KzuRenderer *renderer, const struct KzuTransformedBoundingVolume *volume, enum KzuFillMode fillMode)
 Draws a transformed bounding volume. More...
 
kzsError kzuRendererDrawSelectionIndicator (struct KzuRenderer *renderer, const struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation, const struct KzcColorRGBA *color)
 Draws a selection indicator, resembles a bounding volume. More...
 
kzsError kzuRendererDrawBoxColor (struct KzuRenderer *renderer, const struct KzcVector3 *backBottomLeft, const struct KzcVector3 *frontTopRight, const struct KzcMatrix4x4 *transform, enum KzuFillMode fillMode, const struct KzcColorRGBA *color)
 Draws a box given by two opposing corner points. More...
 
kzsError kzuRendererDrawBoundingVolumeSolid (const struct KzuRenderer *renderer, struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation)
 Draws solid bounding volume using currently bound material. More...
 
kzsError kzuRendererDrawGridLayoutCells (struct KzuRenderer *renderer, const struct KzcVector3 *backBottomLeft, const struct KzcVector3 *frontTopRight, const struct KzcMatrix4x4 *transform, const struct KzcMatrix4x4 *camera, const struct KzuUiGridLayout *gridLayout, const struct KzuGridLayer *gridLayer, const struct KzcColorRGBA *color)
 Visualizes all cells in a grid layout or layer. More...
 
kzsError kzuRendererDrawPrimitives (const struct KzuRenderer *renderer, const kzFloat *vertexList, kzUint vertexCount, enum KzcPrimitiveType type, const struct KzcMatrix4x4 *worldTransformation)
 Draws primitives of the given type. More...
 
kzsError kzuRendererDrawPrimitivesNormal (struct KzuRenderer *renderer, const kzFloat *vertexList, const kzFloat *normalList, kzUint vertexCount, enum KzcPrimitiveType type, const struct KzcMatrix4x4 *worldTransformation)
 Draws primitives of the given type. More...
 
kzsError kzuRendererDrawPointList (const struct KzuRenderer *renderer, const kzFloat *pointList, kzUint pointCount, const struct KzcMatrix4x4 *worldTransformation)
 Draws a point list with current settings. More...
 
kzsError kzuRendererDrawLineList (const struct KzuRenderer *renderer, const kzFloat *lineList, kzUint lineCount, const struct KzcMatrix4x4 *worldTransformation)
 Draws a line list with current settings. More...
 
kzsError kzuRendererDrawTriangleFan (const struct KzuRenderer *renderer, const kzFloat *triangleList, kzUint triangleCount, const struct KzcMatrix4x4 *worldTransformation)
 Draws a triangle fan with current settings. More...
 
kzsError kzuRendererDrawTriangleStrip (const struct KzuRenderer *renderer, const kzFloat *vertexList, kzUint vertexCount, const struct KzcMatrix4x4 *worldTransformation)
 Draws a triangle strip with current settings. More...
 
kzsError kzuRendererDrawQuad (struct KzuRenderer *renderer, const struct KzcVector3 *p1, const struct KzcVector3 *p2, const struct KzcVector3 *p3, const struct KzcVector3 *p4, const struct KzcColorRGBA *color, const struct KzcMatrix4x4 *worldTransformation)
 Draws a quad using solid color. More...
 
kzsError kzuRendererDrawLayerQuad (struct KzuRenderer *renderer, const struct KzuMaterial *material, const struct KzcVector2 *renderOffset, const struct KzcVector2 *renderSize, const struct KzcVector2 *contentOffset, const struct KzcVector2 *contentSize, kzFloat depth, const struct KzcMatrix3x3 *renderTransform)
 Render a layer quad. More...
 
kzsError kzuRendererDrawUntexturedLayerQuad (struct KzuRenderer *renderer, const struct KzcVector2 *renderOffset, const struct KzcVector2 *renderSize, const struct KzuMaterial *material, const struct KzcMatrix4x4 *worldTransformation)
 As rendering a layer quad, but omit everything concerning texture coordinates. More...
 
kzsError kzuRendererDrawLayerOutlineQuad (struct KzuRenderer *renderer, kzFloat width, kzFloat height, const struct KzuMaterial *material, const struct KzuTexture *texture, kzFloat textureOffset, const struct KzcColorRGBA *color, const struct KzcMatrix4x4 *worldTransformation)
 Render a layer outline quad. More...
 
kzsError kzuRendererDrawQuadWithMaterial (struct KzuRenderer *renderer, const struct KzcVector3 *p1, const struct KzcVector3 *p2, const struct KzcVector3 *p3, const struct KzcVector3 *p4, const struct KzuMaterial *material, const struct KzcMatrix4x4 *worldTransformation)
 Draws a quad using specified material. More...
 
kzsError kzuRendererDrawScreenQuad (struct KzuRenderer *renderer, const struct KzuRenderContextStack *renderContextStack, const struct KzuMaterial *material, kzBool useOverrideTexture)
 Draws screen quad with specified material, potential texture fills the screen rectangle. More...
 
kzsError kzuRendererDrawViewportQuad (struct KzuRenderer *renderer, const struct KzcVector2 *offset, const struct KzcVector2 *limits, const struct KzuMaterial *material, const struct KzuTexture *texture)
 Draws viewport quad, fills with given pattern. More...
 
void kzuRendererSetStencilTestEnabled (const struct KzuRenderer *userRenderer, kzBool stencilTestEnabled)
 Sets renderer stencil test and write. More...
 
void kzuRendererApplyStencilSettings (const struct KzuRenderer *userRenderer, kzBool stencilTestEnabled, kzUint stencilRef, kzUint stencilMask, enum KzuStencilFunction stencilFunction, enum KzuStencilOperation stencilOperationStencilFail, enum KzuStencilOperation stencilOperationStencilPassDepthFail, enum KzuStencilOperation stencilOperationStencilPassDepthPass)
 Applies stencil settings with overrides for rendering. More...
 
void kzuRendererGetStencilSettings (const struct KzuRenderer *userRenderer, kzBool *out_stencilTestEnabled, kzUint *out_stencilRef, kzUint *out_stencilMask, enum KzuStencilFunction *out_stencilFunction, enum KzuStencilOperation *out_stencilOperationStencilFail, enum KzuStencilOperation *out_stencilOperationStencilPassDepthFail, enum KzuStencilOperation *out_stencilOperationStencilPassDepthPass)
 Gets stencil settings from renderer. More...
 
void kzuRendererSetDefaultOrthoProjection (const struct KzuRenderer *renderer)
 Sets default orthogonal projection and viewport for renderer. More...
 
kzsError kzuRendererDrawWireframeGrid (struct KzuRenderer *renderer, kzFloat spacing)
 Draws a wire frame grid with default colors. More...
 
kzsError kzuRendererDrawWireframeBox (struct KzuRenderer *renderer, const struct KzcVector3 *boundingBoxMin, const struct KzcVector3 *boundingBoxMax)
 Function for drawing wire frame box. More...
 
kzsError kzuRendererDrawBoneIdentifier (struct KzuRenderer *renderer, const struct KzcVector3 *position, const struct KzcMatrix4x4 *orientation)
 Draws a bone identifier. More...
 
kzsError kzuRendererDrawLight (struct KzuRenderer *renderer, const struct KzuLightNode *lightNode, const struct KzcMatrix4x4 *worldTransformation)
 Draws a wire frame light symbol. More...
 
kzsError kzuRendererDrawEmptyObject (struct KzuRenderer *renderer, const struct KzcMatrix4x4 *worldTransformation)
 Draws an empty object symbol with wire frame lines. More...
 
kzsError kzuRendererDrawCamera (struct KzuRenderer *renderer, const struct KzuCameraNode *cameraNode, const struct KzcMatrix4x4 *worldTransformation)
 Draws a wire frame camera symbol. More...
 
kzsError kzuRendererDrawSkeleton (struct KzuRenderer *renderer, const struct KzuMesh *mesh)
 Draws skeleton with wire frame lines. More...
 
kzsError kzuRendererDrawTrajectory (struct KzuRenderer *renderer, const struct KzuTrajectory *trajectory, const struct KzcMatrix4x4 *worldTransformation)
 Draws a trajectory with wire frame lines. More...
 
kzsError kzuRendererDrawGridListBoxItemArea (struct KzuRenderer *renderer, const struct KzuUiGridListBox *gridListBox, const struct KzcMatrix4x4 *worldTransformation)
 Draws item area for a grid list box. More...
 
kzsError kzuRendererDrawTrajectoryListBoxSelector (struct KzuRenderer *renderer, const struct KzuTrajectory *trajectory, kzFloat selectorOffsetProportional, const struct KzcMatrix4x4 *worldTransformation)
 Draws a trajectory list box's selector with wire frame lines. More...
 
kzsError kzuRendererDrawTrajectoryListBoxClipVisualizer (struct KzuRenderer *renderer, const struct KzuTrajectory *trajectory, kzFloat clipOffsetProportional, const struct KzcMatrix4x4 *worldTransformation)
 Draws a trajectory list box's clip offset visualizer with wire frame lines. More...
 
void kzuPartialRenderingAddObjectBoundingVolume (struct KzuRenderer *renderer, const struct KzuBoundingVolume *boundingVolume, const struct KzcMatrix4x4 *worldTransformation)
 Add object bounding volume to renderer vertex array. More...
 
void kzuPartialRenderingAddLayerQuad (struct KzuRenderer *renderer, const struct KzcVector2 *renderOffset, const struct KzcVector2 *renderSize, const struct KzcMatrix3x3 *worldTransformation)
 Add layer quad to renderer vertex array. More...
 

Detailed Description

User renderer utilities, e.g.

wireframe grid, axes, debug.

Copyright 2008-2019 by Rightware. All rights reserved.

Enumeration Type Documentation

Enumeration for polygon fill mode.

Used in visualization functions.

Enumerator
KZU_FILL_MODE_SOLID 
KZU_FILL_MODE_WIREFRAME 

Function Documentation

kzsError kzuRendererSetSolidColor ( const struct KzuRenderer renderer,
const struct KzcColorRGBA color 
)

Sets solid color for rendering.

Has to be called after material has been applied.

kzsError kzuRendererApplySolidColorMaterial ( struct KzuRenderer renderer,
const struct KzcColorRGBA color,
kzBool out_isValid 
)

Applies a material with the given solid color for rendering.

Parameter out_isValid will be KZ_TRUE if drawing can continue, otherwise KZ_FALSE.

kzsError kzuRendererApplyDebugLightMaterial ( struct KzuRenderer renderer,
const struct KzcColorRGBA color,
kzBool out_isValid 
)

Applies a material with the given debug color for rendering.

Parameter out_isValid will be KZ_TRUE if drawing can continue, otherwise KZ_FALSE.

kzsError kzuRendererDrawLayoutBox ( struct KzuRenderer renderer,
const struct KzcVector3 backBottomLeft,
const struct KzcVector3 frontTopRight,
const struct KzcMatrix4x4 transform,
const struct KzcColorRGBA color 
)

Draws a box with the default parameters for layout visualization.

kzsError kzuRendererDrawBoundingVolume ( struct KzuRenderer renderer,
const struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation,
enum KzuFillMode  fillMode 
)

Draws a bounding volume.

Uses the default color. The box is transformed with the given matrix before drawing.

kzsError kzuRendererDrawBoundingVolumeColor ( struct KzuRenderer renderer,
const struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation,
enum KzuFillMode  fillMode,
const struct KzcColorRGBA color 
)

Draws a bounding volume.

Uses the given color. The box is transformed with the given matrix before drawing.

kzsError kzuRendererDrawBoundingVolumeRaw ( struct KzuRenderer renderer,
const struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation,
enum KzuFillMode  fillMode 
)

Draws a bounding volume.

Uses the current settings. The box is transformed with the given matrix before drawing.

kzsError kzuRendererDrawTransformedBoundingVolume ( struct KzuRenderer renderer,
const struct KzuTransformedBoundingVolume volume,
enum KzuFillMode  fillMode 
)

Draws a transformed bounding volume.

Uses the default color.

kzsError kzuRendererDrawTransformedBoundingVolumeColor ( struct KzuRenderer renderer,
const struct KzuTransformedBoundingVolume volume,
enum KzuFillMode  fillMode,
const struct KzcColorRGBA color 
)

Draws a transformed bounding volume.

Uses the given color.

kzsError kzuRendererDrawTransformedBoundingVolumeRaw ( struct KzuRenderer renderer,
const struct KzuTransformedBoundingVolume volume,
enum KzuFillMode  fillMode 
)

Draws a transformed bounding volume.

Uses the current settings.

kzsError kzuRendererDrawSelectionIndicator ( struct KzuRenderer renderer,
const struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation,
const struct KzcColorRGBA color 
)

Draws a selection indicator, resembles a bounding volume.

kzsError kzuRendererDrawBoxColor ( struct KzuRenderer renderer,
const struct KzcVector3 backBottomLeft,
const struct KzcVector3 frontTopRight,
const struct KzcMatrix4x4 transform,
enum KzuFillMode  fillMode,
const struct KzcColorRGBA color 
)

Draws a box given by two opposing corner points.

Uses the given color. The box is transformed with the given matrix before drawing.

kzsError kzuRendererDrawBoundingVolumeSolid ( const struct KzuRenderer renderer,
struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation 
)

Draws solid bounding volume using currently bound material.

kzsError kzuRendererDrawGridLayoutCells ( struct KzuRenderer renderer,
const struct KzcVector3 backBottomLeft,
const struct KzcVector3 frontTopRight,
const struct KzcMatrix4x4 transform,
const struct KzcMatrix4x4 camera,
const struct KzuUiGridLayout gridLayout,
const struct KzuGridLayer *  gridLayer,
const struct KzcColorRGBA color 
)

Visualizes all cells in a grid layout or layer.

kzsError kzuRendererDrawPrimitives ( const struct KzuRenderer renderer,
const kzFloat vertexList,
kzUint  vertexCount,
enum KzcPrimitiveType  type,
const struct KzcMatrix4x4 worldTransformation 
)

Draws primitives of the given type.

Takes vertex position data as a parameter.

kzsError kzuRendererDrawPrimitivesNormal ( struct KzuRenderer renderer,
const kzFloat vertexList,
const kzFloat normalList,
kzUint  vertexCount,
enum KzcPrimitiveType  type,
const struct KzcMatrix4x4 worldTransformation 
)

Draws primitives of the given type.

Takes vertex position and normal data as parameters. When kzuRendererIsMeshVertexCombiningEnabled returns true, draws nothing but populates renderer combined vertex array.

kzsError kzuRendererDrawPointList ( const struct KzuRenderer renderer,
const kzFloat pointList,
kzUint  pointCount,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a point list with current settings.

Handles only position data.

kzsError kzuRendererDrawLineList ( const struct KzuRenderer renderer,
const kzFloat lineList,
kzUint  lineCount,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a line list with current settings.

Handles only position data.

kzsError kzuRendererDrawTriangleFan ( const struct KzuRenderer renderer,
const kzFloat triangleList,
kzUint  triangleCount,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a triangle fan with current settings.

Handles only position data.

kzsError kzuRendererDrawTriangleStrip ( const struct KzuRenderer renderer,
const kzFloat vertexList,
kzUint  vertexCount,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a triangle strip with current settings.

Handles only position data.

kzsError kzuRendererDrawQuad ( struct KzuRenderer renderer,
const struct KzcVector3 p1,
const struct KzcVector3 p2,
const struct KzcVector3 p3,
const struct KzcVector3 p4,
const struct KzcColorRGBA color,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a quad using solid color.

kzsError kzuRendererDrawLayerQuad ( struct KzuRenderer renderer,
const struct KzuMaterial material,
const struct KzcVector2 renderOffset,
const struct KzcVector2 renderSize,
const struct KzcVector2 contentOffset,
const struct KzcVector2 contentSize,
kzFloat  depth,
const struct KzcMatrix3x3 renderTransform 
)

Render a layer quad.

Z axis assumed to be zero.

kzsError kzuRendererDrawUntexturedLayerQuad ( struct KzuRenderer renderer,
const struct KzcVector2 renderOffset,
const struct KzcVector2 renderSize,
const struct KzuMaterial material,
const struct KzcMatrix4x4 worldTransformation 
)

As rendering a layer quad, but omit everything concerning texture coordinates.

When kzuRendererIsMeshVertexCombiningEnabled returns true, draws nothing but populates the vertex array.

kzsError kzuRendererDrawLayerOutlineQuad ( struct KzuRenderer renderer,
kzFloat  width,
kzFloat  height,
const struct KzuMaterial material,
const struct KzuTexture texture,
kzFloat  textureOffset,
const struct KzcColorRGBA color,
const struct KzcMatrix4x4 worldTransformation 
)

Render a layer outline quad.

Z axis assumed to be zero.

kzsError kzuRendererDrawQuadWithMaterial ( struct KzuRenderer renderer,
const struct KzcVector3 p1,
const struct KzcVector3 p2,
const struct KzcVector3 p3,
const struct KzcVector3 p4,
const struct KzuMaterial material,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a quad using specified material.

kzsError kzuRendererDrawScreenQuad ( struct KzuRenderer renderer,
const struct KzuRenderContextStack *  renderContextStack,
const struct KzuMaterial material,
kzBool  useOverrideTexture 
)

Draws screen quad with specified material, potential texture fills the screen rectangle.

kzsError kzuRendererDrawViewportQuad ( struct KzuRenderer renderer,
const struct KzcVector2 offset,
const struct KzcVector2 limits,
const struct KzuMaterial material,
const struct KzuTexture texture 
)

Draws viewport quad, fills with given pattern.

If texture is non-null, use texture span from it.

void kzuRendererSetStencilTestEnabled ( const struct KzuRenderer userRenderer,
kzBool  stencilTestEnabled 
)

Sets renderer stencil test and write.

void kzuRendererApplyStencilSettings ( const struct KzuRenderer userRenderer,
kzBool  stencilTestEnabled,
kzUint  stencilRef,
kzUint  stencilMask,
enum KzuStencilFunction  stencilFunction,
enum KzuStencilOperation  stencilOperationStencilFail,
enum KzuStencilOperation  stencilOperationStencilPassDepthFail,
enum KzuStencilOperation  stencilOperationStencilPassDepthPass 
)

Applies stencil settings with overrides for rendering.

void kzuRendererGetStencilSettings ( const struct KzuRenderer userRenderer,
kzBool out_stencilTestEnabled,
kzUint out_stencilRef,
kzUint out_stencilMask,
enum KzuStencilFunction out_stencilFunction,
enum KzuStencilOperation out_stencilOperationStencilFail,
enum KzuStencilOperation out_stencilOperationStencilPassDepthFail,
enum KzuStencilOperation out_stencilOperationStencilPassDepthPass 
)

Gets stencil settings from renderer.

void kzuRendererSetDefaultOrthoProjection ( const struct KzuRenderer renderer)

Sets default orthogonal projection and viewport for renderer.

kzsError kzuRendererDrawWireframeGrid ( struct KzuRenderer renderer,
kzFloat  spacing 
)

Draws a wire frame grid with default colors.

kzsError kzuRendererDrawWireframeBox ( struct KzuRenderer renderer,
const struct KzcVector3 boundingBoxMin,
const struct KzcVector3 boundingBoxMax 
)

Function for drawing wire frame box.

Useful for debugging.

kzsError kzuRendererDrawBoneIdentifier ( struct KzuRenderer renderer,
const struct KzcVector3 position,
const struct KzcMatrix4x4 orientation 
)

Draws a bone identifier.

kzsError kzuRendererDrawLight ( struct KzuRenderer renderer,
const struct KzuLightNode lightNode,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a wire frame light symbol.

kzsError kzuRendererDrawEmptyObject ( struct KzuRenderer renderer,
const struct KzcMatrix4x4 worldTransformation 
)

Draws an empty object symbol with wire frame lines.

kzsError kzuRendererDrawCamera ( struct KzuRenderer renderer,
const struct KzuCameraNode cameraNode,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a wire frame camera symbol.

kzsError kzuRendererDrawSkeleton ( struct KzuRenderer renderer,
const struct KzuMesh mesh 
)

Draws skeleton with wire frame lines.

kzsError kzuRendererDrawTrajectory ( struct KzuRenderer renderer,
const struct KzuTrajectory trajectory,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a trajectory with wire frame lines.

kzsError kzuRendererDrawGridListBoxItemArea ( struct KzuRenderer renderer,
const struct KzuUiGridListBox gridListBox,
const struct KzcMatrix4x4 worldTransformation 
)

Draws item area for a grid list box.

kzsError kzuRendererDrawTrajectoryListBoxSelector ( struct KzuRenderer renderer,
const struct KzuTrajectory trajectory,
kzFloat  selectorOffsetProportional,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a trajectory list box's selector with wire frame lines.

kzsError kzuRendererDrawTrajectoryListBoxClipVisualizer ( struct KzuRenderer renderer,
const struct KzuTrajectory trajectory,
kzFloat  clipOffsetProportional,
const struct KzcMatrix4x4 worldTransformation 
)

Draws a trajectory list box's clip offset visualizer with wire frame lines.

void kzuPartialRenderingAddObjectBoundingVolume ( struct KzuRenderer renderer,
const struct KzuBoundingVolume boundingVolume,
const struct KzcMatrix4x4 worldTransformation 
)

Add object bounding volume to renderer vertex array.

void kzuPartialRenderingAddLayerQuad ( struct KzuRenderer renderer,
const struct KzcVector2 renderOffset,
const struct KzcVector2 renderSize,
const struct KzcMatrix3x3 worldTransformation 
)

Add layer quad to renderer vertex array.