All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzu_monolithic_engine.h File Reference

Monolithic engine. More...

Functions

kzsError kzuMonolithicEngineCreate (KzcMemoryManager *memoryManager, kzString binaryName, kzBool useMemoryMappedLoading, kzUint width, kzUint height, struct KzuMonolithicEngine **out_engine)
 Create engine object. More...
 
kzsError kzuMonolithicEngineDelete (struct KzuMonolithicEngine *engine)
 Delete engine. More...
 
kzsError kzuMonolithicEngineUpdate (struct KzuMonolithicEngine *engine, kzUint deltaTime)
 Updates engine state. More...
 
kzsError kzuMonolithicEngineRender (struct KzuMonolithicEngine *engine)
 Render engine to active context. More...
 
kzsError kzuMonolithicEngineResize (struct KzuMonolithicEngine *engine, kzUint width, kzUint height)
 Report new canvas size. More...
 
struct KzuCanvaskzuMonolithicEngineGetCanvas (struct KzuMonolithicEngine *engine)
 Getters for internal members. More...
 

Detailed Description

Monolithic engine.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

kzsError kzuMonolithicEngineCreate ( KzcMemoryManager memoryManager,
kzString  binaryName,
kzBool  useMemoryMappedLoading,
kzUint  width,
kzUint  height,
struct KzuMonolithicEngine **  out_engine 
)

Create engine object.

kzsError kzuMonolithicEngineDelete ( struct KzuMonolithicEngine engine)

Delete engine.

kzsError kzuMonolithicEngineUpdate ( struct KzuMonolithicEngine engine,
kzUint  deltaTime 
)

Updates engine state.

kzsError kzuMonolithicEngineRender ( struct KzuMonolithicEngine engine)

Render engine to active context.

kzsError kzuMonolithicEngineResize ( struct KzuMonolithicEngine engine,
kzUint  width,
kzUint  height 
)

Report new canvas size.

struct KzuCanvas* kzuMonolithicEngineGetCanvas ( struct KzuMonolithicEngine engine)

Getters for internal members.