pub enum ValueType {
Show 21 variants
Bool,
U8,
U16,
U32,
I32,
F32,
Vec2U16,
Vec4U16,
Vec2I,
Vec3U,
Vec2U,
Vec4U,
Vec2F,
Vec3F,
Vec4F,
Mat4F,
Mat4x3F,
Texture2D,
Texture3D,
ArrayTexture2D,
Struct {
name: String,
fields: Vec<BufferMemberLayout>,
size: usize,
},
}Expand description
The ValueType enum describes portable BESL values and resource handles used by VM layouts and registers.
Variants§
Bool
U8
U16
U32
I32
F32
Vec2U16
Vec4U16
Vec2I
Vec3U
Vec2U
Vec4U
Vec2F
Vec3F
Vec4F
Mat4F
Mat4x3F
Texture2D
Texture3D
ArrayTexture2D
Struct
Implementations§
Trait Implementations§
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnsafeUnpin for ValueType
impl UnwindSafe for ValueType
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