abstract class Boleite::VertexBufferObject

Direct Known Subclasses

Defined in:

boleite/graphics/vertex_buffer.cr

Instance Method Summary

Instance Method Detail

abstract def activate(&) #

[View source]
abstract def allocate_buffer : VertexBuffer #

[View source]
def attach_buffer(buffer, temp = false) #

[View source]
def create_buffer #

[View source]
def get_buffer(index) #

[View source]
def layout : Boleite::VertexLayout #

[View source]
def layout=(layout : Boleite::VertexLayout) #

[View source]
def num_vertices #

[View source]
def primitive : Boleite::Primitive #

[View source]
def primitive=(primitive : Boleite::Primitive) #

[View source]
abstract def render(instances) #

[View source]
def set_indices(val : Nil) #

[View source]
def set_indices(index : Int32 | Nil) #

[View source]
def total_buffer_size #

[View source]
abstract def update_layout #

[View source]