naev 0.12.5
shaders_c_gen.Shader Class Reference
Inheritance diagram for shaders_c_gen.Shader:

Public Member Functions

 __init__ (self, name, vs_path, fs_path, attributes, uniforms, subroutines={}, geom_path=None)
 header_chunks (self)
 source_chunks (self)
 __lt__ (self, other)

Data Fields

 name = name
 vs_path = vs_path
 fs_path = fs_path
 geom_path = geom_path
 attributes = attributes
 uniforms = uniforms
 subroutines = subroutines

Detailed Description

Definition at line 5 of file shaders_c_gen.py.

Constructor & Destructor Documentation

◆ __init__()

shaders_c_gen.Shader.__init__ ( self,
name,
vs_path,
fs_path,
attributes,
uniforms,
subroutines = {},
geom_path = None )

Definition at line 6 of file shaders_c_gen.py.

Member Function Documentation

◆ __lt__()

shaders_c_gen.Shader.__lt__ ( self,
other )

Definition at line 49 of file shaders_c_gen.py.

◆ header_chunks()

shaders_c_gen.Shader.header_chunks ( self)

Definition at line 17 of file shaders_c_gen.py.

◆ source_chunks()

shaders_c_gen.Shader.source_chunks ( self)

Definition at line 32 of file shaders_c_gen.py.

Field Documentation

◆ attributes

shaders_c_gen.Shader.attributes = attributes

Definition at line 13 of file shaders_c_gen.py.

◆ fs_path

shaders_c_gen.Shader.fs_path = fs_path

Definition at line 11 of file shaders_c_gen.py.

◆ geom_path

shaders_c_gen.Shader.geom_path = geom_path

Definition at line 12 of file shaders_c_gen.py.

◆ name

shaders_c_gen.Shader.name = name

Definition at line 9 of file shaders_c_gen.py.

◆ subroutines

shaders_c_gen.Shader.subroutines = subroutines

Definition at line 15 of file shaders_c_gen.py.

◆ uniforms

shaders_c_gen.Shader.uniforms = uniforms

Definition at line 14 of file shaders_c_gen.py.

◆ vs_path

shaders_c_gen.Shader.vs_path = vs_path

Definition at line 10 of file shaders_c_gen.py.


The documentation for this class was generated from the following file: