APEX Framework: nvidia::apex::UserRenderResourceDesc Class Reference

NVIDIA APEX

nvidia::apex::UserRenderResourceDesc Class Reference

Describes all the data that makes up a renderable resource. More...

#include <UserRenderResourceDesc.h>

List of all members.

Public Member Functions

bool isValid (void) const
 Checks if the resource is valid.

Public Attributes

UserOpaqueMeshopaqueMesh
 A user specified opaque mesh interface.
UserRenderVertexBuffer ** vertexBuffers
 there should be no overlap in semantics between any two VBs.
uint32_t numVertexBuffers
 number of vertex buffers used when rendering this resource.
uint32_t firstVertex
 First vertex to render.
uint32_t numVerts
 Number of vertices to render.
UserRenderIndexBufferindexBuffer
 optional index buffer used when rendering this resource.
uint32_t firstIndex
 First index to render.
uint32_t numIndices
 Number of indices to render.
UserRenderBoneBufferboneBuffer
 optional bone buffer used for skinned meshes.
uint32_t firstBone
 First bone to render.
uint32_t numBones
 Number of bones to render.
UserRenderInstanceBufferinstanceBuffer
 optional instance buffer if rendering multiple instances of the same resource.
uint32_t firstInstance
 First instance to render.
uint32_t numInstances
 Number of instances to render.
UserRenderSpriteBufferspriteBuffer
 optional sprite buffer if rendering sprites
uint32_t firstSprite
 First sprite to render.
uint32_t numSprites
 Number of sprites to render.
uint32_t visibleSpriteCount
 If the sprite buffer is using the view direction modifier; this will represent the number of sprites visible in front of the camera (Not necessarily in the frustum but in front of the camera)
UserRenderSurfaceBuffer ** surfaceBuffers
 optional surface buffer for transferring variable to texture
uint32_t numSurfaceBuffers
 Number of surface buffers to render.
uint32_t widthSurfaceBuffers
 The surface buffer width.
uint32_t heightSurfaceBuffers
 The surface buffer height.
void * material
 user defined material used when rendering this resource.
uint32_t submeshIndex
 the index of the submesh that render resource belongs to
void * userRenderData
 user defined pointer originally passed in to Renderable::updateRenderResources(..)
RenderCullMode::Enum cullMode
 Triangle culling mode.
RenderPrimitiveType::Enum primitives
 Rendering primitive type (triangle, line strip, etc)

Detailed Description

Describes all the data that makes up a renderable resource.


Member Data Documentation

there should be no overlap in semantics between any two VBs.

vertex buffers used when rendering this 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.