|
Untitled
|
Go to the source code of this file.
Data Structures | |
| struct | DrawArraysIndirectCommand |
| DrawArraysIndirect commands are used for static meshes (eg. More... | |
| struct | DrawElementsIndirectCommand |
| DrawArraysIndirect commands are used for non-static meshes. More... | |
| struct | MeshNode |
| MeshNodes that describe the position of Meshes, GLTF nodes for GLTFAnimations, or hold references to other MeshNodes. More... | |
| struct | Transform |
| Transforms for MeshNode models. More... | |
Macros | |
| #define | MAX_MESH_NODES 1024 |
| #define | MAX_INSTANCES 1024 |
Functions | |
| layout (local_size_x=64, local_size_y=1, local_size_z=1) in | |
| layout (std430, binding=5) buffer DrawArraysData | |
| bool | test_sphere_aabb (vec3 light_pos, float light_radius, vec4 min, vec4 max) |
| void | main () |
Variables | |
| uniform vec3 | uLightPos |
| uniform float | uLightRadius |
| uniform uint | uInstanceCount |
| uniform uint | uArrayOffset |
| struct DrawElementsIndirectCommand |
DrawArraysIndirect commands are used for non-static meshes.
Definition at line 857 of file engine_types.h.
| #define MAX_MESH_NODES 1024 |
Definition at line 52 of file cull_point_light_shadows.comp.
| #define MAX_INSTANCES 1024 |
Definition at line 80 of file cull_point_light_shadows.comp.
| layout | ( | local_size_x | = 64, |
| local_size_y | = 1, | ||
| local_size_z | = 1 ) |
References layout().
| layout | ( | std430 | , |
| binding | = 5 ) |
Definition at line 16 of file cull_point_light_shadows.comp.
References layout().
Definition at line 90 of file cull_point_light_shadows.comp.
References clamp(), and test_sphere_aabb().
| void main | ( | ) |
Definition at line 100 of file cull_point_light_shadows.comp.
References Transform::command_id, main(), Transform::mat, MeshNode::max, MAX_INSTANCES, MeshNode::min, Transform::mn_id, MeshNode::static_mesh, test_sphere_aabb(), uArrayOffset, uInstanceCount, uLightPos, and uLightRadius.
| uniform vec3 uLightPos |
Definition at line 86 of file cull_point_light_shadows.comp.
Referenced by main().
| uniform float uLightRadius |
Definition at line 87 of file cull_point_light_shadows.comp.
Referenced by main().
| uniform uint uInstanceCount |
Definition at line 88 of file cull_point_light_shadows.comp.
| uniform uint uArrayOffset |
Definition at line 89 of file cull_point_light_shadows.comp.