oa::render::SceneDrawPacket

Per-node draw range produced by compile_scene_packets. index_start and index_count are byte-aligned offsets into the merged index buffer returned alongside this packet.

StRust public API

Declaration

pub struct SceneDrawPacket { pub index_start: u32, pub index_count: u32, pub material_id: Option<MaterialId>, }
Public Rust declaration.

Public Methods

fn clone(&self) -> SceneDrawPacket
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &SceneDrawPacket) -> bool

Public Data Members

index_startu32field
index_countu32field
material_idOption<MaterialId>field

Public Method Documentation

fn clone( &self ) -> SceneDrawPacket
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &SceneDrawPacket ) -> bool
No public source comment is attached to this declaration.