enum SF::Shader::Type

Overview

Types of shaders

Defined in:

graphics/obj.cr

Enum Members

Vertex = 0

Vertex shader

Geometry = 1

Geometry shader

Fragment = 2

Fragment (pixel) shader

Instance Method Summary

Instance Method Detail

def fragment? #

[View source]
def geometry? #

[View source]
def vertex? #

[View source]