Skip to main content

goud_engine/sdk/components_sprite/
mod.rs

1//! # SDK Sprite Component Operations
2//!
3//! Pure sprite operations exposed via `#[goud_api]` proc-macro.
4//! Factory functions create sprites by value; mutation functions
5//! operate on `*mut FfiSprite` pointers with null-safety.
6//! Value-builder functions take and return `FfiSprite` by value.
7
8// The proc-macro wraps these in `unsafe extern "C"` FFI wrappers.
9// The inner methods do their own null checks before any dereference.
10#![allow(clippy::not_unsafe_ptr_arg_deref)]
11
12pub mod builder;
13pub mod factory;
14pub mod ptr_ops;