Function CE::Rendering::validate_draw_packet
Defined in File draw-packet.h
Function Documentation
-
void CE::Rendering::validate_draw_packet(const DrawPacket2D &packet, const ::CE::Rendering::Pipelines::PassConstraints2D &constraints)
Validate clip, nonnull handles, geometry range/state and complete resolved parameters on the CPU.
- Parameters:
packet – Stable retained draw values; aggregate construction does not validate them.
constraints – Fixed-state requirements of its pass.
- Throws:
CE::Exceptions::invalid_args – For malformed clips/handles/ranges/parameters or pipeline mismatch. No native domain/current-context validation or draw occurs, and inputs remain unchanged.