APEX Framework: nvidia::apex::UserRenderResource Class Reference

NVIDIA APEX

nvidia::apex::UserRenderResource Class Reference

An abstract interface to a renderable resource. More...

#include <UserRenderResource.h>

List of all members.

Public Member Functions

virtual void setVertexBufferRange (uint32_t firstVertex, uint32_t numVerts)=0
 Set vertex buffer range.
virtual void setIndexBufferRange (uint32_t firstIndex, uint32_t numIndices)=0
 Set index buffer range.
virtual void setBoneBufferRange (uint32_t firstBone, uint32_t numBones)=0
 Set bone buffer range.
virtual void setInstanceBufferRange (uint32_t firstInstance, uint32_t numInstances)=0
 Set instance buffer range.
virtual void setSpriteBufferRange (uint32_t firstSprite, uint32_t numSprites)=0
 Set sprite buffer range.
virtual void setSpriteVisibleCount (uint32_t visibleCount)
 Set sprite visible count.
virtual void setMaterial (void *material)=0
 Set material.
virtual uint32_t getNbVertexBuffers () const =0
 Get number of vertex buffers.
virtual UserRenderVertexBuffergetVertexBuffer (uint32_t index) const =0
 Get vertex buffer.
virtual UserRenderIndexBuffergetIndexBuffer () const =0
 Get index buffer.
virtual UserRenderBoneBuffergetBoneBuffer () const =0
 Get bone buffer.
virtual UserRenderInstanceBuffergetInstanceBuffer () const =0
 Get instance buffer.
virtual UserRenderSpriteBuffergetSpriteBuffer () const =0
 Get sprite buffer.

Detailed Description

An abstract interface to a renderable resource.


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

Generated on Fri Dec 15 2017 13:58:41

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