pub struct Drawstuff {}
Expand description
Drawstuff
Implementations§
Trait Implementations§
Source§impl Tdrawstuff for Drawstuff
Tdrawstuff for Drawstuff
impl Tdrawstuff for Drawstuff
Tdrawstuff for Drawstuff
Source§fn DrawConvex(
&self,
pos: *const f32,
rot: *const f32,
planes: *const f32,
planecount: c_uint,
points: *const f32,
pointcount: c_uint,
polygons: *const c_uint,
)
fn DrawConvex( &self, pos: *const f32, rot: *const f32, planes: *const f32, planecount: c_uint, points: *const f32, pointcount: c_uint, polygons: *const c_uint, )
dsDrawConvex 3 12 planecount pointcount x
Source§fn DrawConvexD(
&self,
pos: *const f64,
rot: *const f64,
planes: *const f64,
planecount: c_uint,
points: *const f64,
pointcount: c_uint,
polygons: *const c_uint,
)
fn DrawConvexD( &self, pos: *const f64, rot: *const f64, planes: *const f64, planecount: c_uint, points: *const f64, pointcount: c_uint, polygons: *const c_uint, )
dsDrawConvexD 3 12 planecount pointcount x
Source§fn DrawCylinderD(&self, pos: *const f64, rot: *const f64, l: f32, r: f32)
fn DrawCylinderD(&self, pos: *const f64, rot: *const f64, l: f32, r: f32)
dsDrawCylinderD 3 12
Source§fn DrawTriangle(
&self,
pos: *const f32,
rot: *const f32,
v0: *const f32,
v1: *const f32,
v2: *const f32,
solid: c_int,
)
fn DrawTriangle( &self, pos: *const f32, rot: *const f32, v0: *const f32, v1: *const f32, v2: *const f32, solid: c_int, )
dsDrawTriangle 3 12 (4 4 4) or (3 3 3)
Source§fn DrawTriangleD(
&self,
pos: *const f64,
rot: *const f64,
v0: *const f64,
v1: *const f64,
v2: *const f64,
solid: c_int,
)
fn DrawTriangleD( &self, pos: *const f64, rot: *const f64, v0: *const f64, v1: *const f64, v2: *const f64, solid: c_int, )
dsDrawTriangleD 3 12 (4 4 4) or (3 3 3)
Source§fn DrawTriangles(
&self,
pos: *const f32,
rot: *const f32,
v: *const f32,
n: c_int,
solid: c_int,
)
fn DrawTriangles( &self, pos: *const f32, rot: *const f32, v: *const f32, n: c_int, solid: c_int, )
dsDrawTriangles 3 12 4n or 3n
Source§fn DrawTrianglesD(
&self,
pos: *const f64,
rot: *const f64,
v: *const f64,
n: c_int,
solid: c_int,
)
fn DrawTrianglesD( &self, pos: *const f64, rot: *const f64, v: *const f64, n: c_int, solid: c_int, )
dsDrawTrianglesD 3 12 4n or 3n
Source§fn ElapsedTime(&self) -> f64
fn ElapsedTime(&self) -> f64
dsElapsedTime
Source§fn SetCapsuleQuality(&self, n: c_int)
fn SetCapsuleQuality(&self, n: c_int)
dsSetCapsuleQuality default 3
Source§fn SetDrawMode(&self, mode: c_int)
fn SetDrawMode(&self, mode: c_int)
dsSetDrawMode
Source§fn SetSphereQuality(&self, n: c_int)
fn SetSphereQuality(&self, n: c_int)
dsSetSphereQuality default 1
Source§fn SetTexture(&self, texture_number: c_int)
fn SetTexture(&self, texture_number: c_int)
dsSetTexture
Auto Trait Implementations§
impl Freeze for Drawstuff
impl RefUnwindSafe for Drawstuff
impl Send for Drawstuff
impl Sync for Drawstuff
impl Unpin for Drawstuff
impl UnwindSafe for Drawstuff
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