class Boleite::Private::OpenGLVertexBufferObject

Defined in:

boleite/backend/graphics/opengl_vertex_buffer.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Boleite::VertexBufferObject

activate(&) activate, allocate_buffer : VertexBuffer allocate_buffer, attach_buffer(buffer, temp = false) attach_buffer, create_buffer create_buffer, get_buffer(index) get_buffer, layout : Boleite::VertexLayout layout, layout=(layout : Boleite::VertexLayout) layout=, num_vertices num_vertices, primitive : Boleite::Primitive primitive, primitive=(primitive : Boleite::Primitive) primitive=, render(instances) render, set_indices(val : Nil)
set_indices(index : Int32 | Nil)
set_indices
, total_buffer_size total_buffer_size, update_layout update_layout

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.translate_primitive(primitive : Primitive) #

[View source]
def self.translate_type(type : VertexAttribute::Type) #

[View source]

Instance Method Detail

def activate(&) #

[View source]
def allocate_buffer : VertexBuffer #

[View source]
def finalize #

[View source]
def render(instances) #

[View source]
def update_layout #

[View source]