enum Gloop::Shader::Type

Overview

Enum indicating a shader's type.

Defined in:

gloop/shader/type.cr

Enum Members

Fragment = 35632_u32
Vertex = 35633_u32
Geometry = 36313_u32
TessellationEvaluation = 36487_u32
TessellationControl = 36488_u32
Compute = 37305_u32
TessEval = 36487_u32
TessControl = 36488_u32

Instance Method Summary

Instance Method Detail

def compute? #

[View source]
def fragment? #

[View source]
def geometry? #

[View source]
def tess_control? #

[View source]
def tess_eval? #

[View source]
def tessellation_control? #

[View source]
def tessellation_evaluation? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]
def vertex? #

[View source]