Torque3D Documentation / _generateds / OpenVRRenderModel

OpenVRRenderModel

Engine/source/platform/input/openVR/openVRProvider.h

Simple class to handle rendering native OpenVR model data.

More...

Public Types

GFXVertexPNT
VertexType 

Public Functions

draw(SceneRenderState * state, MeshRenderInst * renderInstance)
bool
init(const vr::RenderModel_t & vrModel, StringTableEntry materialName)

Detailed Description

Simple class to handle rendering native OpenVR model data.

Public Types

typedef GFXVertexPNT VertexType 

Public Attributes

Box3F mLocalBox 
BaseMatInstance * mMaterialInstance 

Material to use for rendering. NOTE:

GFXPrimitiveBufferHandle mPrimitiveBuffer 
GFXVertexBufferHandle< VertexType > mVertexBuffer 

Public Functions

OpenVRRenderModel()

~OpenVRRenderModel()

draw(SceneRenderState * state, MeshRenderInst * renderInstance)

getWorldBox(MatrixF & mat)

init(const vr::RenderModel_t & vrModel, StringTableEntry materialName)