Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::StaticMeshSubmission Struct Reference

Represents a static mesh draw submission. More...

#include <Submission.h>

Public Attributes

Ref< MeshMesh
 Reference-counted pointer to the mesh resource.
Crux::mat4 Transform
 Model-to-world transformation matrix.

Detailed Description

Represents a static mesh draw submission.

Contains a reference to a mesh resource and its world transform matrix. Used to enqueue static mesh draw calls in the rendering pipeline.

Todo
Consider managing submissions via a dedicated submission handler to improve batching, sorting, and lifecycle management.

Member Data Documentation

◆ Mesh

Ref<Mesh> Raven::StaticMeshSubmission::Mesh

Reference-counted pointer to the mesh resource.

◆ Transform

Crux::mat4 Raven::StaticMeshSubmission::Transform

Model-to-world transformation matrix.


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