Visual Computing Library
Loading...
Searching...
No Matches
vcl::DrawableMeshUniforms Class Reference

Public Member Functions

const floatcurrentMeshColor () const
 
const floatcurrentModelMatrix () const
 
template<MeshConcept MeshType>
void update (const MeshType &m)
 
void bind () const
 

Private Attributes

float mMeshColor [4] = {0.5, 0.5, 0.5, 1.0}
 
float mModelMatrix [16]
 
Uniform mMeshColorUniform = Uniform("u_meshColor", bgfx::UniformType::Vec4)
 

Member Data Documentation

◆ mModelMatrix

float vcl::DrawableMeshUniforms::mModelMatrix[16]
private
Initial value:
= {
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.0,
0.0,
0.0,
0.0,
1.0}

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