#[repr(C)]pub struct VertexAttributeDescriptor {}Expand description
Implementations§
Source§impl VertexAttributeDescriptor
impl VertexAttributeDescriptor
Sourcepub fn get_attribute(&mut self) -> VertexAttribute
pub fn get_attribute(&mut self) -> VertexAttribute
get_attribute() overload
Sourcepub fn set_attribute(&mut self, value: impl Into<VertexAttribute>)
pub fn set_attribute(&mut self, value: impl Into<VertexAttribute>)
set_attribute(crate::unity_engine::rendering::vertexattribute::VertexAttribute) overload
Sourcepub fn get_format(&mut self) -> VertexAttributeFormat
pub fn get_format(&mut self) -> VertexAttributeFormat
get_format() overload
Sourcepub fn set_format(&mut self, value: impl Into<VertexAttributeFormat>)
pub fn set_format(&mut self, value: impl Into<VertexAttributeFormat>)
set_format(crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat) overload
Sourcepub fn get_dimension(&mut self) -> i32
pub fn get_dimension(&mut self) -> i32
get_dimension() overload
Sourcepub fn set_dimension(&mut self, value: impl Into<i32>)
pub fn set_dimension(&mut self, value: impl Into<i32>)
set_dimension(i32) overload
Sourcepub fn get_stream(&mut self) -> i32
pub fn get_stream(&mut self) -> i32
get_stream() overload
Sourcepub fn set_stream(&mut self, value: impl Into<i32>)
pub fn set_stream(&mut self, value: impl Into<i32>)
set_stream(i32) overload
Sourcepub fn ctor(
&mut self,
attribute: impl Into<VertexAttribute>,
format: impl Into<VertexAttributeFormat>,
dimension: impl Into<i32>,
stream: impl Into<i32>,
)
pub fn ctor( &mut self, attribute: impl Into<VertexAttribute>, format: impl Into<VertexAttributeFormat>, dimension: impl Into<i32>, stream: impl Into<i32>, )
.ctor(crate::unity_engine::rendering::vertexattribute::VertexAttribute, crate::unity_engine::rendering::vertexattributeformat::VertexAttributeFormat, i32, i32) overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn equals(&mut self, other: impl Into<Object>) -> bool
pub fn equals(&mut self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<VertexAttributeDescriptor>) -> bool
pub fn equals_2(&mut self, other: impl Into<VertexAttributeDescriptor>) -> bool
Equals(crate::unity_engine::rendering::vertexattributedescriptor::VertexAttributeDescriptor) overload
Source§impl VertexAttributeDescriptor
impl VertexAttributeDescriptor
pub fn get_attribute_method_info() -> &'static MethodInfo
pub fn set_attribute_method_info() -> &'static MethodInfo
pub fn get_format_method_info() -> &'static MethodInfo
pub fn set_format_method_info() -> &'static MethodInfo
pub fn get_dimension_method_info() -> &'static MethodInfo
pub fn set_dimension_method_info() -> &'static MethodInfo
pub fn get_stream_method_info() -> &'static MethodInfo
pub fn set_stream_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for VertexAttributeDescriptor
impl Clone for VertexAttributeDescriptor
Source§fn clone(&self) -> VertexAttributeDescriptor
fn clone(&self) -> VertexAttributeDescriptor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VertexAttributeDescriptor
Auto Trait Implementations§
impl Freeze for VertexAttributeDescriptor
impl RefUnwindSafe for VertexAttributeDescriptor
impl Send for VertexAttributeDescriptor
impl Sync for VertexAttributeDescriptor
impl Unpin for VertexAttributeDescriptor
impl UnwindSafe for VertexAttributeDescriptor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)