Class: Shaderize::Shader

Inherits:
Struct
  • Object
show all
Defined in:
lib/shaderize/scaffold.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



7
8
9
# File 'lib/shaderize/scaffold.rb', line 7

def attributes
  @attributes
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/shaderize/scaffold.rb', line 7

def name
  @name
end

#uniformsObject

Returns the value of attribute uniforms

Returns:

  • (Object)

    the current value of uniforms



7
8
9
# File 'lib/shaderize/scaffold.rb', line 7

def uniforms
  @uniforms
end