#[repr(C)]pub struct TTF_GPUAtlasDrawSequence {
pub atlas_texture: *mut SDL_GPUTexture,
pub xy: *mut SDL_FPoint,
pub uv: *mut SDL_FPoint,
pub num_vertices: c_int,
pub indices: *mut c_int,
pub num_indices: c_int,
pub image_type: TTF_ImageType,
pub next: *mut TTF_GPUAtlasDrawSequence,
}Expand description
Draw sequence returned by TTF_GetGPUTextDrawData
§Availability
This struct is available since SDL_ttf 3.0.0.
§See also
Fields§
§atlas_texture: *mut SDL_GPUTextureTexture atlas that stores the glyphs
xy: *mut SDL_FPointAn array of vertex positions
uv: *mut SDL_FPointAn array of normalized texture coordinates for each vertex
num_vertices: c_intNumber of vertices
indices: *mut c_intAn array of indices into the ‘vertices’ arrays
num_indices: c_intNumber of indices
image_type: TTF_ImageTypeThe image type of this draw sequence
next: *mut TTF_GPUAtlasDrawSequenceThe next sequence (will be NULL in case of the last sequence)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TTF_GPUAtlasDrawSequence
impl RefUnwindSafe for TTF_GPUAtlasDrawSequence
impl !Send for TTF_GPUAtlasDrawSequence
impl !Sync for TTF_GPUAtlasDrawSequence
impl Unpin for TTF_GPUAtlasDrawSequence
impl UnwindSafe for TTF_GPUAtlasDrawSequence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more