Struct luminance_gl::gl33::token::GL33 [] [src]

pub struct GL33;

Trait Implementations

impl HasBuffer for GL33
[src]

A type representing minimal information to operate on a buffer. For instance, a size, a pointer, a method to retrieve data, a handle, whatever. Read more

Create a new buffer with a given size.

Destroy a buffer.

Write values into the buffer. Read more

Write a single value in the buffer at a given offset. Read more

Read all values from the buffer.

Read a single value from the buffer at a given offset. Read more

impl HasFramebuffer for GL33
[src]

Framebuffer representation.

Create a new framebuffer.

Free a framebuffer.

Default framebuffer.

impl HasPipeline for GL33
[src]

impl HasProgram for GL33
[src]

Create a new program by linking it with stages.

Free a program.

Map a uniform name to its uniform representation. Can fail with ProgramError.

Bulk update of uniforms. The update closure should contain the code used to update as many uniforms as wished. Read more

impl HasStage for GL33
[src]

impl HasUniform for GL33
[src]

Uniform representation.

impl HasTessellation for GL33
[src]

A type representing tessellation on GPU.

Create a Tessellation from its vertices and a Mode. Read more

Destroy a Tessellation.

impl HasTexture for GL33
[src]

Create a new texture. Read more

Destroy a texture.

Clear the texture’s texels by setting them all to the same value.

Upload texels to the texture’s memory.

Upload raw texels to the texture’s memory.

Retrieve the texels as a collection of P::RawEncoding.

impl Debug for GL33
[src]

Formats the value using the given formatter.