pub struct ShaderDesc {
pub vertex_shader: String,
pub pixel_shader: String,
pub vertex_attributes: Vec<Vec<String>>,
pub vertex_uniforms: Vec<String>,
pub vertex_surfaces: Vec<String>,
pub pixel_uniforms: Vec<String>,
pub pixel_surfaces: Vec<String>,
}
Expand description
ShaderDesc
Fields§
§vertex_shader: String
§pixel_shader: String
§vertex_attributes: Vec<Vec<String>>
§vertex_uniforms: Vec<String>
§vertex_surfaces: Vec<String>
§pixel_uniforms: Vec<String>
§pixel_surfaces: Vec<String>
Trait Implementations§
Source§impl Clone for ShaderDesc
impl Clone for ShaderDesc
Source§fn clone(&self) -> ShaderDesc
fn clone(&self) -> ShaderDesc
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ShaderDesc
impl RefUnwindSafe for ShaderDesc
impl Send for ShaderDesc
impl Sync for ShaderDesc
impl Unpin for ShaderDesc
impl UnwindSafe for ShaderDesc
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