Struct gdnative::Shader
[−]
[src]
pub struct Shader { /* fields omitted */ }
Methods
impl Shader
[src]
pub fn set_code(&self, code: GodotString)
[src]
pub fn get_code(&self) -> GodotString
[src]
pub fn set_default_texture_param(
&self,
param: GodotString,
texture: Option<GodotRef<Texture>>
)
[src]
&self,
param: GodotString,
texture: Option<GodotRef<Texture>>
)
pub fn get_default_texture_param(
&self,
param: GodotString
) -> Option<GodotRef<Texture>>
[src]
&self,
param: GodotString
) -> Option<GodotRef<Texture>>
pub fn has_param(&self, name: GodotString) -> bool
[src]
Methods from Deref<Target = Resource>
pub fn _setup_local_to_scene(&self)
[src]
pub fn set_path(&self, path: GodotString)
[src]
pub fn take_over_path(&self, path: GodotString)
[src]
pub fn get_path(&self) -> GodotString
[src]
pub fn set_name(&self, name: GodotString)
[src]
pub fn get_name(&self) -> GodotString
[src]
pub fn get_rid(&self) -> Rid
[src]
pub fn set_local_to_scene(&self, enable: bool)
[src]
pub fn is_local_to_scene(&self) -> bool
[src]
pub fn get_local_scene(&self) -> Option<GodotRef<Node>>
[src]
pub fn setup_local_to_scene(&self)
[src]
pub fn duplicate(&self, subresources: bool) -> Option<GodotRef<Resource>>
[src]
Trait Implementations
impl GodotClass for Shader
[src]
type ClassData = Shader
type Reference = Shader
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference