Struct oxygengine_ha_renderer::material::domains::surface::SurfaceVertexASPTC
source · pub struct SurfaceVertexASPTC {
pub vertex: SurfaceVertexPTC,
pub vert_anim: SurfaceVertAnimFragment,
pub skinning: SurfaceSkinningFragment,
}Fields§
§vertex: SurfaceVertexPTC§vert_anim: SurfaceVertAnimFragment§skinning: SurfaceSkinningFragmentTrait Implementations§
source§impl Clone for SurfaceVertexASPTC
impl Clone for SurfaceVertexASPTC
source§fn clone(&self) -> SurfaceVertexASPTC
fn clone(&self) -> SurfaceVertexASPTC
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 SurfaceVertexASPTC
impl Debug for SurfaceVertexASPTC
source§impl Default for SurfaceVertexASPTC
impl Default for SurfaceVertexASPTC
source§fn default() -> SurfaceVertexASPTC
fn default() -> SurfaceVertexASPTC
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SurfaceVertexASPTC
impl<'de> Deserialize<'de> for SurfaceVertexASPTC
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 SurfaceVertexASPTC
impl Serialize for SurfaceVertexASPTC
source§impl VertexType for SurfaceVertexASPTC
impl VertexType for SurfaceVertexASPTC
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 SurfaceVertexASPTC
impl SurfaceColoredDomain for SurfaceVertexASPTC
impl SurfaceCompleteDomain for SurfaceVertexASPTC
impl SurfaceDomain for SurfaceVertexASPTC
impl SurfaceSkinnedDomain for SurfaceVertexASPTC
impl SurfaceTexturedDomain for SurfaceVertexASPTC
impl SurfaceVertAnimDomain for SurfaceVertexASPTC
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceVertexASPTC
impl Send for SurfaceVertexASPTC
impl Sync for SurfaceVertexASPTC
impl Unpin for SurfaceVertexASPTC
impl UnwindSafe for SurfaceVertexASPTC
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