class Nya::Render::Sampler

Defined in:

nya/render/shader_vars.cr

Constant Summary

NYA_REGISTERED = true
PROPERTIES = {"texture" => "Texture"} of String => String

Class Method Summary

Instance Method Summary

Instance methods inherited from class Nya::Render::ShaderVar

metadata : Backend::Metadata | Nil metadata, metadata=(metadata : Backend::Metadata | Nil) metadata=, name : String name, name=(name : String) name=

Class methods inherited from class Nya::Render::ShaderVar

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 texture : Nya::Render::Texture #

[View source]
def texture=(texture : Nya::Render::Texture) #

[View source]