|
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 | |
| layout (std140, binding=0) uniform CameraData | |
| void | main () |
Variables | |
| uniform uint | uOffset |
| uniform uint | uDynamicPass |
| uniform uint | uStartArr |
| out | VS_OUT |
| vec2 | UV |
| gs_in | |
| #define MAX_MESH_NODES 1024 |
Definition at line 89 of file point_light_shadows.vert.
| #define MAX_INSTANCES 1024 |
Definition at line 100 of file point_light_shadows.vert.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | std430 | , |
| binding | = 5 ) |
Definition at line 26 of file point_light_shadows.vert.
References layout().
| layout | ( | std140 | , |
| binding | = 0 ) |
Definition at line 30 of file point_light_shadows.vert.
References layout(), projection, and view.
| void main | ( | ) |
Definition at line 125 of file point_light_shadows.vert.
References DrawArraysIndirectCommand::baseInstance, gs_in, index_offset, DrawArraysIndirectCommand::instanceCount, main(), Transform::mat, Transform::material, MAX_INSTANCES, uDynamicPass, uOffset, and uStartArr.
| uniform uint uOffset |
Definition at line 114 of file point_light_shadows.vert.
| uniform uint uDynamicPass |
Definition at line 115 of file point_light_shadows.vert.
| uniform uint uStartArr |
Definition at line 117 of file point_light_shadows.vert.
| out VS_OUT |
Definition at line 118 of file point_light_shadows.vert.
| vec2 UV |
Definition at line 121 of file point_light_shadows.vert.
| gs_in |
Definition at line 123 of file point_light_shadows.vert.
Referenced by main().