[−][src]Enum turbine_scene3d::Command
Stores a scene command.
Variants
UseProgram(Program)
Use program.
SetModelViewProjection(Matrix4Uniform)
Set model-view-projection transform.
SetModel(Matrix4Uniform)
Set model transform.
SetView(Matrix4Uniform)
Set view transform.
SetTexture(Texture)
Set texture.
SetF32(F32Uniform, f32)
Set f32 uniform.
SetVector2(Vector2Uniform, Vector2<f32>)
Set 2D vector uniform.
SetVector3(Vector3Uniform, Vector3<f32>)
Set 3D vector uniform.
SetMatrix4(Matrix4Uniform, Matrix4<f32>)
Set matrx uniform.
Enable framebuffer sRGB.
Disable framebuffer sRGB.
Enable blend.
Disable blend.
Enable cull face.
Disable cull face.
Cull front face.
Cull back face.
Cull both front and back face.
DrawTriangles(VertexArray, usize)
Draw triangles.
DrawTriangleStrip(VertexArray, usize)
Draw triangle strip.
DrawLines(VertexArray, usize)
Draw lines.
DrawPoints(VertexArray, usize)
Draw points.
Translate model.
Translate model in global coordinates.
Scale model.
RotateXDeg(f32)
Rotate model around x axis with degrees.
RotateYDeg(f32)
Rotate model around y axis with degrees.
RotateZDeg(f32)
Rotate model around z axis with degrees.
Rotate model around axis with degrees.
Push model transform to transform stack.
Pop model transform from transform stack.
Draw(CommandList)
Draw a command list.
Trait Implementations
impl Clone for Command
[src]
impl Copy for Command
[src]
impl Debug for Command
[src]
impl PartialEq<Command> for Command
[src]
impl StructuralPartialEq for Command
[src]
Auto Trait Implementations
impl RefUnwindSafe for Command
[src]
impl Send for Command
[src]
impl Sync for Command
[src]
impl Unpin for Command
[src]
impl UnwindSafe for Command
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,