score::gfx::CustomMesh Class Reference
Inheritance diagram for score::gfx::CustomMesh:
score::gfx::Mesh

Public Member Functions

 CustomMesh (const ossia::mesh_list &g)
 
MeshBuffers init (QRhi &rhi) const noexcept override
 
void update (MeshBuffers &meshbuf, QRhiResourceUpdateBatch &rb) const noexcept override
 
Flags flags () const noexcept override
 
void clear ()
 
void preparePipeline (QRhiGraphicsPipeline &pip) const noexcept override
 
void reload (const ossia::mesh_list &ml)
 
void draw (const MeshBuffers &bufs, QRhiCommandBuffer &cb) const noexcept override
 
const char * defaultVertexShader () const noexcept override
 A basic vertex shader that is going to work with this mesh.
 

Public Attributes

int64_t dirtyGeometryIndex {-1}
 

Additional Inherited Members

- Public Types inherited from score::gfx::Mesh
enum  Flag {
  HasPosition = SCORE_FLAG(1) , HasTexCoord = SCORE_FLAG(2) , HasColor = SCORE_FLAG(3) , HasNormals = SCORE_FLAG(4) ,
  HasTangents = SCORE_FLAG(5)
}
 
using Flags = QFlags< Flag >
 

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