nvidia::apex::IofxRenderCallback Class Reference
User defined callback for IOFX rendering. More...
#include <IofxRenderCallback.h>
Inheritance diagram for nvidia::apex::IofxRenderCallback:
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.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:39
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.