gamnit :: GamnitProgramFromSource :: fragment_shader_source
Source code of the fragment shadergamnit :: GamnitProgramFromSource :: vertex_shader_source
Source code of the vertex shadergamnit $ GamnitProgramFromSource :: SELF
Type of this instance, automatically specialized in every classgamnit $ GamnitProgramFromSource :: fragment_shader
Fragment shader to attach to this programgamnit $ GamnitProgramFromSource :: vertex_shader
Vertex shader to attach to this programgamnit :: GamnitProgram :: attributes
Attributes of this program organized by namegamnit :: GamnitProgram :: attributes=
Attributes of this program organized by namecore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gamnit :: GamnitProgram :: compile_and_link
Compile the shaders, and this program, then link and report any errorscore :: Object :: defaultinit
gamnit :: GamnitProgram :: defaultinit
gamnit :: GamnitProgram :: deleted=
Has this program been deleted?gamnit :: GamnitProgram :: diagnose
Diagnose possible problems with the shaders of the programgamnit :: GamnitProgram :: error=
Last error raised bycompile_and_link
gamnit :: GamnitProgram :: fragment_shader
Fragment shader to attach to this programgamnit :: GamnitProgramFromSource :: fragment_shader_source
Source code of the fragment shadercore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).gamnit :: GamnitProgram :: uniforms
Uniforms of this program organized by namegamnit :: GamnitProgram :: uniforms=
Uniforms of this program organized by namegamnit :: GamnitProgram :: vertex_shader
Vertex shader to attach to this programgamnit :: GamnitProgramFromSource :: vertex_shader_source
Source code of the vertex shader
# Gamnit graphical program from the shaders source code
class GamnitProgramFromSource
super GamnitProgram
# Source code of the vertex shader
fun vertex_shader_source: Text is abstract
redef var vertex_shader = new VertexShader(vertex_shader_source) is lazy
# Source code of the fragment shader
fun fragment_shader_source: Text is abstract
redef var fragment_shader = new FragmentShader(fragment_shader_source) is lazy
end
lib/gamnit/programs.nit:494,1--507,3