Struct oxygengine_ha_renderer::material::domains::surface::SurfaceVertexASP
source · pub struct SurfaceVertexASP {
pub vertex: SurfaceVertexP,
pub vert_anim: SurfaceVertAnimFragment,
pub skinning: SurfaceSkinningFragment,
}Fields§
§vertex: SurfaceVertexP§vert_anim: SurfaceVertAnimFragment§skinning: SurfaceSkinningFragmentTrait Implementations§
source§impl Clone for SurfaceVertexASP
impl Clone for SurfaceVertexASP
source§fn clone(&self) -> SurfaceVertexASP
fn clone(&self) -> SurfaceVertexASP
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SurfaceVertexASP
impl Debug for SurfaceVertexASP
source§impl Default for SurfaceVertexASP
impl Default for SurfaceVertexASP
source§fn default() -> SurfaceVertexASP
fn default() -> SurfaceVertexASP
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SurfaceVertexASP
impl<'de> Deserialize<'de> for SurfaceVertexASP
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SurfaceVertexASP
impl Serialize for SurfaceVertexASP
source§impl VertexType for SurfaceVertexASP
impl VertexType for SurfaceVertexASP
fn vertex_layout() -> Result<VertexLayout, MeshError>
fn has_attribute(name: &str) -> bool
fn scalar(&self, name: &str) -> Option<f32>
fn vec2f(&self, name: &str) -> Option<Vec2<f32>>
fn vec3f(&self, name: &str) -> Option<Vec3<f32>>
fn vec4f(&self, name: &str) -> Option<Vec4<f32>>
fn mat2f(&self, name: &str) -> Option<Mat2<f32>>
fn mat3f(&self, name: &str) -> Option<Mat3<f32>>
fn mat4f(&self, name: &str) -> Option<Mat4<f32>>
fn integer(&self, name: &str) -> Option<i32>
fn vec2i(&self, name: &str) -> Option<Vec2<i32>>
fn vec3i(&self, name: &str) -> Option<Vec3<i32>>
fn vec4i(&self, name: &str) -> Option<Vec4<i32>>
fn mat2i(&self, name: &str) -> Option<Mat2<i32>>
fn mat3i(&self, name: &str) -> Option<Mat3<i32>>
fn mat4i(&self, name: &str) -> Option<Mat4<i32>>
fn transform(&mut self, _matrix: &Mat4<f32>)
impl Copy for SurfaceVertexASP
impl SurfaceDomain for SurfaceVertexASP
impl SurfaceSkinnedDomain for SurfaceVertexASP
impl SurfaceVertAnimDomain for SurfaceVertexASP
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceVertexASP
impl Send for SurfaceVertexASP
impl Sync for SurfaceVertexASP
impl Unpin for SurfaceVertexASP
impl UnwindSafe for SurfaceVertexASP
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more