|
Untitled
|
Go to the source code of this file.
Data Structures | |
| struct | DrawArraysIndirectCommand |
| DrawArraysIndirect commands are used for static meshes (eg. More... | |
| struct | Transform |
| Transforms for MeshNode models. More... | |
| struct | MeshNode |
| MeshNodes that describe the position of Meshes, GLTF nodes for GLTFAnimations, or hold references to other MeshNodes. More... | |
Macros | |
| #define | MAX_MESH_NODES 1024 |
| #define | MAX_INSTANCES 1024 |
Functions | |
| layout (location=0) in vec3 aPosition | |
| layout (std430, binding=5) buffer DrawArraysData | |
| void | main () |
Variables | |
| uniform mat4 | projection |
| uniform mat4 | view |
| out vec3 | FragWorldPos |
| uniform uint | uOffset |
| uniform uint | uDynamicPass |
| out vec2 | UV |
| flat out uint | Mat |
| uniform uint | uStartArr |
| uniform uint | uStartEle |
| #define MAX_MESH_NODES 1024 |
Definition at line 65 of file shadow.vert.
| #define MAX_INSTANCES 1024 |
Definition at line 77 of file shadow.vert.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | std430 | , |
| binding | = 5 ) |
Definition at line 28 of file shadow.vert.
References layout().
| void main | ( | ) |
Definition at line 97 of file shadow.vert.
References DrawArraysIndirectCommand::baseInstance, FragWorldPos, index_offset, DrawArraysIndirectCommand::instanceCount, main(), Mat, Transform::mat, Transform::material, MAX_INSTANCES, Transform::mn_id, projection, uDynamicPass, uOffset, uStartArr, uStartEle, UV, and view.
| uniform mat4 projection |
Definition at line 15 of file shadow.vert.
| uniform mat4 view |
Definition at line 16 of file shadow.vert.
Referenced by accessor_elem_ptr(), bake_reflection_probes(), expand_accessor(), fetch_joints4_from_accessor(), fetch_weights4_from_accessor(), layout(), load_gltf(), main(), render_main_menu(), and write_point_light_shadows().
| out vec3 FragWorldPos |
Definition at line 89 of file shadow.vert.
| uniform uint uOffset |
Definition at line 90 of file shadow.vert.
| uniform uint uDynamicPass |
Definition at line 91 of file shadow.vert.
| out vec2 UV |
Definition at line 92 of file shadow.vert.
| flat out uint Mat |
Definition at line 93 of file shadow.vert.
| uniform uint uStartArr |
Definition at line 94 of file shadow.vert.
| uniform uint uStartEle |
Definition at line 95 of file shadow.vert.