class Nya::Render::ShaderSet

Defined in:

nya/render/shader_set.cr

Constant Summary

NYA_REGISTERED = true
PROPERTIES = {"format" => "$String", "files" => "Array(String)"} of String => String

Class Method Summary

Instance Method Summary

Instance methods inherited from class Nya::Object

ancestor_or_same?(u : U.class) forall U ancestor_or_same?, awake awake, backend backend, enabled : Bool enabled, enabled=(enabled : Bool) enabled=, enabled? : Bool enabled?, engine engine, id : String? id, id=(id : Nil | String) id=, matches_tag?(tag) matches_tag?, render(tag : String | Nil = nil) render, tag : String? tag, tag=(tag : Nil | String) tag=, update update

Class methods inherited from class Nya::Object

deserialize(xml, ctx : SerializationContext | Nil = nil) deserialize, transform_name(name) transform_name, xml_name xml_name

Class Method Detail

def self.deserialize(xml, ctx : SerializationContext | Nil = nil) #

[View source]
def self.transform_name(name) #

def self.xml_name #

Returns XML compatible name of a type (see Nya::Serializable.translate_type)


Instance Method Detail

def files : Array(String) #

[View source]
def files=(files : Array(String)) #

[View source]
def format : String #

[View source]
def format=(format : String) #

[View source]