c

namespace plugin

Include: PlugIns/TrueSkyPluginRender/TrackingAllocator.h

Windows & XBox

Classes and Structures

class PluginTrueSkyRenderer  
class TrackingAllocator  

Functions

void StaticExecuteDeferredRendering()
void * StaticGetEnvironment()
int StaticInitInterface()
int StaticOnDeviceChanged(void device)
void StaticRemoveView(int view_id)
void StaticRenderOverlays(void device, void pContext, void externalDepthTexture, float viewMatrix4x4, float projMatrix4x4, int view_id, void colourTarget, simul::crossplatform::Viewport viewports)
void StaticSetDebugOutputCallback(DebugOutputCallback)
void StaticSetGraphicsDevice(void device, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)
void StaticSetGraphicsDeviceAndContext(void device, void context, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)
void StaticSetMemoryInterface(simul::base::MemoryInterface)
int StaticSetSequence(std::string SequenceInput)
int StaticSetSequenceTxt(char txt)
int StaticShutDownInterface()
void UnitySetGraphicsDevice(void device, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)

Windows & XBox

Functions

void StaticExecuteDeferredRendering()

Render all the deferred contexts.

void * StaticGetEnvironment()

Returns the simul::clouds::Environment pointer.

int StaticInitInterface()

Ensure that the renderer is initialized. Subsequent calls have no effect.

int StaticOnDeviceChanged(void device)

Assign the platform GPU device pointer.

void StaticRemoveView(int view_id)

Free up the specified view and its resources.

void StaticRenderOverlays(void device, void pContext, void externalDepthTexture, float viewMatrix4x4, float projMatrix4x4, int view_id, void colourTarget, simul::crossplatform::Viewport viewports)

Render the debug overlays.

void StaticSetDebugOutputCallback(DebugOutputCallback)

Provide a function that trueSKY can use to output debug warnings, information, and errors.

void StaticSetGraphicsDevice(void device, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)

Device event handler.

void StaticSetGraphicsDeviceAndContext(void device, void context, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)

Device event handler.

void StaticSetMemoryInterface(simul::base::MemoryInterface)

Provide memory allocator for CPU and (on some platforms) GPU memory.

int StaticSetSequence(std::string SequenceInput)

Loads the sequence as a std::string.

int StaticSetSequenceTxt(char txt)

Loads the given sequence

int StaticShutDownInterface()

Shut down the renderer and free all resources.

void UnitySetGraphicsDevice(void device, simul::crossplatform::RenderPlatformType deviceType, UnityGfxDeviceEventType eventType)

Unity-specific device event. Calls StaticSetGraphicsDevice() if needed.

Enums

FloatAtPosition The namespace for the plugin render interface.

RenderStyle Attribute to make function be exported from a plugin: