Struct raylib::core::texture::RenderTexture2D [−][src]
#[repr(transparent)]pub struct RenderTexture2D(_);
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.