Struct raylib::core::texture::WeakRenderTexture2D [−][src]
#[repr(transparent)]pub struct WeakRenderTexture2D(_);
Implementations
Take the raw ffi type. Must manually free memory by calling the proper unload function
returns the unwrapped raylib-sys object
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
Trait Implementations
Performs the conversion.
Performs the conversion.
type Target = RenderTexture2D
type Target = RenderTexture2D
The resulting type after dereferencing.
Updates GPU texture with new data.
Gets pixel data from GPU texture and returns an Image
.
Fairly sure this would never fail. If it does wrap in result. Read more
Generates GPU mipmaps for a texture
.
Sets global texture
scaling filter mode.
Sets global texture wrapping mode.
Auto Trait Implementations
impl RefUnwindSafe for WeakRenderTexture2D
impl Send for WeakRenderTexture2D
impl Sync for WeakRenderTexture2D
impl Unpin for WeakRenderTexture2D
impl UnwindSafe for WeakRenderTexture2D
Blanket Implementations
Mutably borrows from an owned value. Read more