cgv
Loading...
Searching...
No Matches
cgv::render::device_capabilities Struct Reference

Public Attributes

int max_geometry_shader_output_vertex_count = -1
 
int max_compute_shared_memory_size = -1
 the maximum number that can be provided to the max_vertices output layout qualifier in a geometry shader
 
int max_compute_work_group_invocations = -1
 total available storage size in bytes for all shared variables in a compute shader
 
ivec3 max_compute_work_group_count = -1
 the number of invocations in a single local work group (i.e., the product of the three dimensions) that may be dispatched to a compute shader
 
ivec3 max_compute_work_group_size = -1
 the maximum number of work groups that may be dispatched to a compute shader; dimension index 0, 1, and 2 correspond to the X, Y and Z dimensions, respectively
 

Detailed Description

Definition at line 38 of file context.h.

Member Data Documentation

◆ max_compute_shared_memory_size

int cgv::render::device_capabilities::max_compute_shared_memory_size = -1

the maximum number that can be provided to the max_vertices output layout qualifier in a geometry shader

Definition at line 40 of file context.h.

Referenced by cgv::render::gl::gl_context::configure_gl().

◆ max_compute_work_group_count

ivec3 cgv::render::device_capabilities::max_compute_work_group_count = -1

the number of invocations in a single local work group (i.e., the product of the three dimensions) that may be dispatched to a compute shader

Definition at line 42 of file context.h.

Referenced by cgv::render::gl::gl_context::configure_gl().

◆ max_compute_work_group_invocations

int cgv::render::device_capabilities::max_compute_work_group_invocations = -1

total available storage size in bytes for all shared variables in a compute shader

Definition at line 41 of file context.h.

Referenced by cgv::render::gl::gl_context::configure_gl().

◆ max_compute_work_group_size

ivec3 cgv::render::device_capabilities::max_compute_work_group_size = -1

the maximum number of work groups that may be dispatched to a compute shader; dimension index 0, 1, and 2 correspond to the X, Y and Z dimensions, respectively

Definition at line 43 of file context.h.

Referenced by cgv::render::gl::gl_context::configure_gl().

◆ max_geometry_shader_output_vertex_count

int cgv::render::device_capabilities::max_geometry_shader_output_vertex_count = -1

Definition at line 39 of file context.h.


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