struct
CrShader::GLSLLayoutPacker::FieldSlot
- CrShader::GLSLLayoutPacker::FieldSlot
- Struct
- Value
- Object
Defined in:
crshader/transpiler/glsl/layout_packer.crConstructors
Instance Method Summary
- #alignment : Int32
- #array_len : Int32
- #byte_offset : Int32
- #byte_size : Int32
- #clone
- #copy_with(name _name = @name, crystal_type _crystal_type = @crystal_type, glsl_type _glsl_type = @glsl_type, byte_offset _byte_offset = @byte_offset, byte_size _byte_size = @byte_size, alignment _alignment = @alignment, is_array _is_array = @is_array, array_len _array_len = @array_len)
- #crystal_type : String
- #glsl_type : String
- #is_array : Bool
- #name : String
Constructor Detail
def self.new(name : String, crystal_type : String, glsl_type : String, byte_offset : Int32, byte_size : Int32, alignment : Int32, is_array : Bool = false, array_len : Int32 = 1)
#
Instance Method Detail
def copy_with(name _name = @name, crystal_type _crystal_type = @crystal_type, glsl_type _glsl_type = @glsl_type, byte_offset _byte_offset = @byte_offset, byte_size _byte_size = @byte_size, alignment _alignment = @alignment, is_array _is_array = @is_array, array_len _array_len = @array_len)
#