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

Public Member Functions

void bind () const
 
const floatcurrentMeshColor () const
 
template<MeshConcept MeshType>
void update (const MeshType &m)
 
void updateFirstChunkIndex (uint firstChunkIndex)
 

Private Attributes

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

Member Data Documentation

◆ mMeshData

float vcl::DrawableMeshUniforms::mMeshData[4]
private
Initial value:
= {
0.0,
0.0,
0.0,
0.0}

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