oa::render::TextureHandle

Opaque index into the owning Scene’s texture registry. A handle is valid only within the Scene that issued it. Zero is reserved and will be rejected by validate_scene.

StRust public API

Declaration

pub struct TextureHandle(pub u64);
Public Rust declaration.

Public Methods

fn clone(&self) -> TextureHandle
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn hash<__H: Hasher>(&self, state: &mut __H)
fn eq(&self, other: &TextureHandle) -> bool

Associated Functions

fn default() -> TextureHandle

Public Data Members

0u64field

Public Method Documentation

fn clone( &self ) -> TextureHandle
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 hash<__H: Hasher>( &self, state: &mut __H )
No public source comment is attached to this declaration.
fn eq( &self, other: &TextureHandle ) -> bool
No public source comment is attached to this declaration.
fn default() -> TextureHandle
No public source comment is attached to this declaration.