enum Gloop::Texture::Swizzle

Overview

Color component or value actually presented to shaders.

Defined in:

gloop/texture/swizzle.cr

Enum Members

Zero = 0
One = 1
Red = 6403
Green = 6404
Blue = 6405
Alpha = 6406

Instance Method Summary

Instance Method Detail

def alpha? #

[View source]
def blue? #

[View source]
def green? #

[View source]
def one? #

[View source]
def red? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]
def zero? #

[View source]