Enum glium::texture::buffer_texture::BufferTextureType [] [src]

pub enum BufferTextureType {
    Float,
    Integral,
    Unsigned,
}

Type of a buffer texture.

Variants

The texture will behave as if it contained floating-point data. It can be sampled with a samplerBuffer in your GLSL code.

If the buffer actually contains integer values, they will be normalized so that 0 is interpreted as 0.0 and the maximum possible value (for example 255 for u8s) is interpreted as 1.0.

The texture will behave as if it contained signed integral data. It can be sampled with a isamplerBuffer in your GLSL code.

The texture will behave as if it contained unsigned integral data. It can be sampled with a usamplerBuffer in your GLSL code.

Trait Implementations

impl Copy for BufferTextureType
[src]

impl Clone for BufferTextureType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BufferTextureType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for BufferTextureType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for BufferTextureType
[src]