Trait Vertex

Source
pub trait Vertex: Clone + Pod {
    const STRIDE: BufferAddress;
    const QUADS_INDEX: Option<IndexFormat>;
}

Required Associated Constants§

Source

const STRIDE: BufferAddress

Source

const QUADS_INDEX: Option<IndexFormat>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Vertex for veloren_voxygen::render::pipelines::debug::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat> = None

Source§

const STRIDE: BufferAddress = 40u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::fluid::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 8u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::lod_object::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat> = None

Source§

const STRIDE: BufferAddress = 40u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::lod_terrain::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 8u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::particle::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 16u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::rope::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 24u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::skybox::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat> = None

Source§

const STRIDE: BufferAddress = 12u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::sprite::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 8u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::terrain::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 8u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::trail::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat>

Source§

const STRIDE: BufferAddress = 12u64

Source§

impl Vertex for veloren_voxygen::render::pipelines::ui::Vertex

Source§

const QUADS_INDEX: Option<IndexFormat> = None

Source§

const STRIDE: BufferAddress = 52u64