Struct dxlib::ext::shader::GeometryShader
source · pub struct GeometryShader {
pub d: bool,
pub h: i32,
}Expand description
GeometryShader
Fields§
§d: boolto be disposed
h: i32handle
Implementations§
Trait Implementations§
source§impl Tr for GeometryShader
impl Tr for GeometryShader
Tr for GeometryShader
source§fn as_geometry_shader(&self) -> GeometryShader
fn as_geometry_shader(&self) -> GeometryShader
as geometry shader
fn as_music(&self) -> Music
fn as_sound(&self) -> Sound
fn as_screen(&self) -> Screen
fn as_graph(&self) -> Graph
fn as_vertex_shader(&self) -> VertexShader
fn as_pixel_shader(&self) -> PixelShader
fn as_constant_buffer(&self) -> ConstantBuffer
fn as_light(&self) -> Light
fn as_font(&self) -> Font
source§impl Ts for GeometryShader
impl Ts for GeometryShader
Ts for GeometryShader
source§fn set_const(&self, cb: &ConstantBuffer) -> i32
fn set_const(&self, cb: &ConstantBuffer) -> i32
for DX11
source§fn get_const_default_param_f_to_shader_with_str_len(
&self,
n: &str,
l: usize
) -> *const FLOAT4
fn get_const_default_param_f_to_shader_with_str_len( &self, n: &str, l: usize ) -> *const FLOAT4
with len (for DX9)
source§fn get_const_index_to_shader(&self, n: &str) -> i32
fn get_const_index_to_shader(&self, n: &str) -> i32
must end 0 (for DX9)
source§fn get_const_count_to_shader(&self, n: &str) -> i32
fn get_const_count_to_shader(&self, n: &str) -> i32
must end 0 (for DX9)
Auto Trait Implementations§
impl Freeze for GeometryShader
impl RefUnwindSafe for GeometryShader
impl Send for GeometryShader
impl Sync for GeometryShader
impl Unpin for GeometryShader
impl UnwindSafe for GeometryShader
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