Class: Shaderize::ShaderVariable

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/shaderize/parser.rb', line 6

def name
  @name
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



6
7
8
# File 'lib/shaderize/parser.rb', line 6

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/shaderize/parser.rb', line 6

def type
  @type
end