Public Member Functions
nvidia::apex::IofxRenderCallback Class Reference

User defined callback for IOFX rendering. More...

#include <IofxRenderCallback.h>

List of all members.

Public Member Functions

virtual void onCreatedIofxRenderable (IofxRenderable &)
 Called just after a new IOFX renderable was created.
virtual void onUpdatedIofxRenderable (IofxRenderable &)
 Called just after an IOFX renderable was updated.
virtual void onReleasingIofxRenderable (IofxRenderable &)
 Called just before an IOFX renderable is going to be released.
virtual bool getIofxSpriteRenderLayout (IofxSpriteRenderLayout &spriteRenderLayout, uint32_t spriteCount, uint32_t spriteSemanticsBitmap, RenderInteropFlags::Enum interopFlags)
 Called by the IOFX module to query layout for sprite rendering. Should return true in case IofxSpriteRenderLayout is properly filled, and then IOFX will pass this layout to createRender[Buffer|Surface] method(s) to create needed render resources. In case this method is not implemented and returns false the IOFX module will create a layout to hold all input semantics. Also in case this method is not implemented or/and createRender[Buffer|Surface] method is not implemented, then the IOFX module will create its own render buffer/surfaces which user can map to access rendering content.
virtual bool getIofxMeshRenderLayout (IofxMeshRenderLayout &meshRenderLayout, uint32_t meshCount, uint32_t meshSemanticsBitmap, RenderInteropFlags::Enum interopFlags)
 Called by the IOFX module to query layout for mesh rendering. Should return true in case IofxMeshRenderLayout is properly filled, and then IOFX will pass this layout to createRenderBuffer method to create needed render resources. In case this method is not implemented and returns false the IOFX module will create a layout to hold all input semantics. Also in case this method is not implemented or/and createRenderBuffer method is not implemented, then the IOFX module will create its own render buffer which user can map to access rendering content.

Detailed Description

User defined callback for IOFX rendering.


Member Function Documentation

virtual bool nvidia::apex::IofxRenderCallback::getIofxMeshRenderLayout ( IofxMeshRenderLayout meshRenderLayout,
uint32_t  meshCount,
uint32_t  meshSemanticsBitmap,
RenderInteropFlags::Enum  interopFlags 
) [inline, virtual]

Called by the IOFX module to query layout for mesh rendering. Should return true in case IofxMeshRenderLayout is properly filled, and then IOFX will pass this layout to createRenderBuffer method to create needed render resources. In case this method is not implemented and returns false the IOFX module will create a layout to hold all input semantics. Also in case this method is not implemented or/and createRenderBuffer method is not implemented, then the IOFX module will create its own render buffer which user can map to access rendering content.

virtual bool nvidia::apex::IofxRenderCallback::getIofxSpriteRenderLayout ( IofxSpriteRenderLayout spriteRenderLayout,
uint32_t  spriteCount,
uint32_t  spriteSemanticsBitmap,
RenderInteropFlags::Enum  interopFlags 
) [inline, virtual]

Called by the IOFX module to query layout for sprite rendering. Should return true in case IofxSpriteRenderLayout is properly filled, and then IOFX will pass this layout to createRender[Buffer|Surface] method(s) to create needed render resources. In case this method is not implemented and returns false the IOFX module will create a layout to hold all input semantics. Also in case this method is not implemented or/and createRender[Buffer|Surface] method is not implemented, then the IOFX module will create its own render buffer/surfaces which user can map to access rendering content.

virtual void nvidia::apex::IofxRenderCallback::onCreatedIofxRenderable ( IofxRenderable ) [inline, virtual]

Called just after a new IOFX renderable was created.

virtual void nvidia::apex::IofxRenderCallback::onReleasingIofxRenderable ( IofxRenderable ) [inline, virtual]

Called just before an IOFX renderable is going to be released.

virtual void nvidia::apex::IofxRenderCallback::onUpdatedIofxRenderable ( IofxRenderable ) [inline, virtual]

Called just after an IOFX renderable was updated.


The documentation for this class was generated from the following file:

Generated on Sat Dec 1 2018 15:52:37

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.