Public Member Functions | Public Attributes
physx::apex::NxUserRenderResourceDesc Class Reference

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

#include <NxUserRenderResourceDesc.h>

List of all members.

Public Member Functions

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

Public Attributes

NxUserOpaqueMeshopaqueMesh
 A user specified opaque mesh interface.
NxUserRenderVertexBuffer ** vertexBuffers
 there should be no overlap in semantics between any two VBs.
physx::PxU32 numVertexBuffers
 number of vertex buffers used when rendering this resource.
physx::PxU32 firstVertex
 First vertex to render.
physx::PxU32 numVerts
 Number of vertices to render.
NxUserRenderIndexBufferindexBuffer
 optional index buffer used when rendering this resource.
physx::PxU32 firstIndex
 First index to render.
physx::PxU32 numIndices
 Number of indices to render.
NxUserRenderBoneBufferboneBuffer
 optional bone buffer used for skinned meshes.
physx::PxU32 firstBone
 First bone to render.
physx::PxU32 numBones
 Number of bones to render.
NxUserRenderInstanceBufferinstanceBuffer
 optional instance buffer if rendering multiple instances of the same resource.
physx::PxU32 firstInstance
 First instance to render.
physx::PxU32 numInstances
 Number of instances to render.
NxUserRenderSpriteBufferspriteBuffer
 optional sprite buffer if rendering sprites
physx::PxU32 firstSprite
 First sprite to render.
physx::PxU32 numSprites
 Number of sprites to render.
physx::PxU32 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)
NxUserRenderSurfaceBuffer ** surfaceBuffers
 optional surface buffer for transferring variable to texture
physx::PxU32 numSurfaceBuffers
 Number of surface buffers to render.
physx::PxU32 widthSurfaceBuffers
 The surface buffer width.
physx::PxU32 heightSurfaceBuffers
 The surface buffer height.
void * material
 user defined material used when rendering this resource.
physx::PxU32 submeshIndex
 the index of the submesh that render resource belongs to
void * userRenderData
 user defined pointer originally passed in to NxApexRenderable::NxApexupdateRenderResources(..)
NxRenderCullMode::Enum cullMode
 Triangle culling mode.
NxRenderPrimitiveType::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 Mon Apr 28 2014 08:01:37

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