enum Gloop::Texture::WrapMode

Overview

Method used for texture coordinates outside of the standard range.

Defined in:

gloop/texture/wrap_mode.cr

Enum Members

Repeat = 10497
ClampToEdge = 33071
ClampToBorder = 33069
MirroredRepeat = 33648
MirrorClampToEdge = 34627

Instance Method Summary

Instance Method Detail

def clamp_to_border? #

[View source]
def clamp_to_edge? #

[View source]
def mirror_clamp_to_edge? #

[View source]
def mirrored_repeat? #

[View source]
def repeat? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]