Struct voodoo::ShaderModule
[−]
[src]
pub struct ShaderModule { /* fields omitted */ }
Methods
impl ShaderModule
[src]
pub fn new(device: Device, code: &[u32]) -> VdResult<ShaderModule>
[src]
Creates and returns a new ShaderModule
.
pub fn handle(&self) -> ShaderModuleHandle
[src]
Returns this object's handle.
pub fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
Trait Implementations
impl Debug for ShaderModule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ShaderModule
[src]
fn clone(&self) -> ShaderModule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more