Function CE::Rendering::resolve_draw_packet
Defined in File draw-packet.h
Function Documentation
Declaration:
[[nodiscard]]Resolve and validate one independent owned CPU packet without native calls.
- Parameters:
geometry – Retained immutable upload.
first_vertex – First uploaded vertex, not bytes.
vertex_count – Nonzero complete-primitive range count.
style – Stable draw values with a nonnull material; this primitive has no asset-default lookup.
pass – Copied engine pass semantics.
pass_values – Lower-priority custom pass layer.
constraints – Pass-state requirements.
- Returns:
Complete packet retaining geometry/material/images/samplers; PassWriter later assigns authored_order. Validation/allocation failures publish no packet and leave borrowed inputs unchanged.