enum Gloop::DepthFunction

Overview

Comparison method used with depth information.

Defined in:

gloop/depth_function.cr

Enum Members

Never = 512_u32
Less = 513_u32
Equal = 514_u32
LessEqual = 515_u32
Greater = 516_u32
NotEqual = 517_u32
GreaterEqual = 518_u32
Always = 519_u32

Instance Method Summary

Instance Method Detail

def always? #

[View source]
def equal? #

[View source]
def greater? #

[View source]
def greater_equal? #

[View source]
def less? #

[View source]
def less_equal? #

[View source]
def never? #

[View source]
def not_equal? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]