Class: Stagecraft::Renderer::UniformPacker::Field

Inherits:
Data
  • Object
show all
Defined in:
lib/stagecraft/renderer/uniform_packer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#alignmentObject (readonly)

Returns the value of attribute alignment

Returns:

  • (Object)

    the current value of alignment



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def alignment
  @alignment
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def name
  @name
end

#offsetObject (readonly)

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def offset
  @offset
end

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def size
  @size
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/stagecraft/renderer/uniform_packer.rb', line 6

def value
  @value
end