[−][src]Trait luminance::tess::TessIndex
Class of tessellation indices.
Values which types implement this trait are allowed to be used to index tessellation in indexed draw commands.
You shouldn’t have to worry too much about that trait. Have a look at the current implementors for an exhaustive list of types you can use.
Implementing this trait is
unsafe
.
Associated Constants
pub const INDEX_TYPE: Option<TessIndexType>
[src]
Type of the underlying index.
You are limited in which types you can use as indexes. Feel free to have a look at the
documentation of the TessIndexType
trait for further information.
None
means that you disable indexing.
Required methods
pub fn try_into_u32(self) -> Option<u32>
[src]
Get and convert the index to u32
, if possible.
Implementations on Foreign Types
impl TessIndex for ()
[src]
pub const INDEX_TYPE: Option<TessIndexType>
[src]
pub fn try_into_u32(self) -> Option<u32>
[src]
impl TessIndex for u8
[src]
Boop.
pub const INDEX_TYPE: Option<TessIndexType>
[src]
pub fn try_into_u32(self) -> Option<u32>
[src]
impl TessIndex for u16
[src]
Boop.
pub const INDEX_TYPE: Option<TessIndexType>
[src]
pub fn try_into_u32(self) -> Option<u32>
[src]
impl TessIndex for u32
[src]
Wuuuuuuha.