OpenVRRenderModel
Engine/source/platform/input/openVR/openVRProvider.h
Simple class to handle rendering native OpenVR model data.
Public Types
GFXVertexPNT
VertexType
Public Attributes
Material to use for rendering. NOTE:
Public Functions
draw(SceneRenderState * state, MeshRenderInst * renderInstance)
getWorldBox(MatrixF & mat)
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)