struct RayLib::Mesh

Included Modules

Defined in:

raylib/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(vertex_count : Int32, triangle_count : Int32, vertices : Float32, texcoords : Float32, texcoords2 : Float32, normals : Float32, tangents : Float32, colors : UInt8, indices : UInt16, anim_vertices : Float32, anim_normals : Float32, bone_ids : Int32, bone_weights : Float32, vao_id : UInt32, vbo_id : StaticArray(UInt32, 7)) #

[View source]
def self.new(pull : JSON::PullParser) #

def self.new(unwrap : Pointer(Binding::Mesh)) #

[View source]
def self.new(unwrap : Binding::Mesh) #

[View source]

Instance Method Detail

def anim_normals : Float32 #

[View source]
def anim_normals=(anim_normals : Float32) #

[View source]
def anim_vertices : Float32 #

[View source]
def anim_vertices=(anim_vertices : Float32) #

[View source]
def bone_ids : Int32 #

[View source]
def bone_ids=(bone_ids : Int32) #

[View source]
def bone_weights : Float32 #

[View source]
def bone_weights=(bone_weights : Float32) #

[View source]
def colors : UInt8 #

[View source]
def colors=(colors : UInt8) #

[View source]
def indices : UInt16 #

[View source]
def indices=(indices : UInt16) #

[View source]
def normals : Float32 #

[View source]
def normals=(normals : Float32) #

[View source]
def tangents : Float32 #

[View source]
def tangents=(tangents : Float32) #

[View source]
def texcoords : Float32 #

[View source]
def texcoords2 : Float32 #

[View source]
def texcoords2=(texcoords2 : Float32) #

[View source]
def texcoords=(texcoords : Float32) #

[View source]
def to_unsafe #

[View source]
def triangle_count : Int32 #

[View source]
def triangle_count=(triangle_count : Int32) #

[View source]
def vao_id : LibC::UInt #

[View source]
def vao_id=(vao_id : LibC::UInt) #

[View source]
def vbo_id : StaticArray(LibC::UInt, 7) #

[View source]
def vbo_id=(vbo_id : StaticArray(LibC::UInt, 7)) #

[View source]
def vertex_count : Int32 #

[View source]
def vertex_count=(vertex_count : Int32) #

[View source]
def vertices : Float32 #

[View source]
def vertices=(vertices : Float32) #

[View source]