glwt.buffer

Undocumented in source.

Members

Aliases

ArrayBuffer
alias ArrayBuffer = Buffer!(BufferType.Array)
Undocumented in source.
AtomicCounterBuffer
alias AtomicCounterBuffer = Buffer!(BufferType.AtomicCounter)
Undocumented in source.
CopyReadBuffer
alias CopyReadBuffer = Buffer!(BufferType.CopyRead)
Undocumented in source.
CopyWriteBuffer
alias CopyWriteBuffer = Buffer!(BufferType.CopyWrite)
Undocumented in source.
DispatchIndirectBuffer
alias DispatchIndirectBuffer = Buffer!(BufferType.DispatchIndirect)
Undocumented in source.
DrawIndirectBuffer
alias DrawIndirectBuffer = Buffer!(BufferType.DrawIndirect)
Undocumented in source.
ElementArrayBuffer
alias ElementArrayBuffer = Buffer!(BufferType.ElementArray)
Undocumented in source.
PixelPackBuffer
alias PixelPackBuffer = Buffer!(BufferType.PixelPack)
Undocumented in source.
PixelUnpackBuffer
alias PixelUnpackBuffer = Buffer!(BufferType.PixelUnpack)
Undocumented in source.
QueryBuffer
alias QueryBuffer = Buffer!(BufferType.Query)
Undocumented in source.
ShaderStorageBuffer
alias ShaderStorageBuffer = Buffer!(BufferType.ShaderStorage)
Undocumented in source.
TextureBuffer
alias TextureBuffer = Buffer!(BufferType.Texture)
Undocumented in source.
TransformFeedbackBuffer
alias TransformFeedbackBuffer = Buffer!(BufferType.TransformFeedback)
Undocumented in source.
UniformBuffer
alias UniformBuffer = Buffer!(BufferType.Uniform)
Undocumented in source.
use
alias use = bind

glBindBuffer() wrapper. Binds buffer to be used by future calls.

Enums

BufferType
enum BufferType
Undocumented in source.
BufferUsage
enum BufferUsage
Undocumented in source.

Functions

bind
void bind(Buffer!bufferType buffer)

glBindBuffer() wrapper. Binds buffer to be used by future calls.

data
void data(Buffer!bufferType buffer, void[] data, BufferUsage usage)

glBufferData() wrapper. Sets the buffer's data.

del
void del(Buffer!bufferType buffer)

glDeleteBuffers() wrapper.

gen
void gen(Buffer!bufferType buffer)

glGenBuffers() wrapper.

gen
void gen(Buffer!bufferType[] buffers)

glGenBuffers() wrapper.

getSubData
void getSubData(Buffer!bufferType buffer, void* data, size_t offset, size_t length)

glGetBufferSubData() wrapper. Gets the buffer's sub data.

subData
void subData(Buffer!bufferType buffer, void[] data, size_t offset)

body() wrapper. Sets the buffer's sub data.

Structs

Buffer
struct Buffer(BufferType bufferType)

A wrapper for buffers.

Variables

buffer_ensureBound_m
enum string buffer_ensureBound_m;
Undocumented in source.
buffer_ensureGen_m
enum string buffer_ensureGen_m;
Undocumented in source.

Meta