#include
<oglplus/limit_query.hpp>
enum class LimitQuery : GLenum { Max3DTextureSize = GL_MAX_3D_TEXTURE_SIZE, MaxArrayTextureLayers = GL_MAX_ARRAY_TEXTURE_LAYERS, MaxAtomicCounterBufferBindings = GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS, MaxAtomicCounterBufferSize = GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE, MaxClipDistances = GL_MAX_CLIP_DISTANCES, MaxCullDistances = GL_MAX_CULL_DISTANCES, MaxCombinedClipAndCullDistances = GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES, MaxColorAttachments = GL_MAX_COLOR_ATTACHMENTS, MaxColorTextureSamples = GL_MAX_COLOR_TEXTURE_SAMPLES, MaxCombinedAtomicCounterBuffers = GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS, MaxCombinedAtomicCounters = GL_MAX_COMBINED_ATOMIC_COUNTERS, MaxCombinedFragmentUniformComponents = GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS, MaxCombinedGeometryUniformComponents = GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS, MaxCombinedImageUniforms = GL_MAX_COMBINED_IMAGE_UNIFORMS, MaxCombinedImageUnitsAndFragmentOutputs = GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS, MaxCombinedTessControlUniformComponents = GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS, MaxCombinedTessEvaluationUniformComponents = GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS, MaxCombinedTextureImageUnits = GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, MaxCombinedUniformBlocks = GL_MAX_COMBINED_UNIFORM_BLOCKS, MaxCombinedVertexUniformComponents = GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS, MaxCubeMapTextureSize = GL_MAX_CUBE_MAP_TEXTURE_SIZE, MaxDepthTextureSamples = GL_MAX_DEPTH_TEXTURE_SAMPLES, MaxDrawBuffers = GL_MAX_DRAW_BUFFERS, MaxDualSourceDrawBuffers = GL_MAX_DUAL_SOURCE_DRAW_BUFFERS, MaxElementsIndices = GL_MAX_ELEMENTS_INDICES, MaxElementsVertices = GL_MAX_ELEMENTS_VERTICES, MaxFragmentAtomicCounterBuffers = GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS, MaxFragmentAtomicCounters = GL_MAX_FRAGMENT_ATOMIC_COUNTERS, MaxFragmentImageUniforms = GL_MAX_FRAGMENT_IMAGE_UNIFORMS, MaxFragmentInputComponents = GL_MAX_FRAGMENT_INPUT_COMPONENTS, MaxFragmentInterpolationOffset = GL_MAX_FRAGMENT_INTERPOLATION_OFFSET, MaxFragmentUniformBlocks = GL_MAX_FRAGMENT_UNIFORM_BLOCKS, MaxFragmentUniformComponents = GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, MaxFragmentUniformVectors = GL_MAX_FRAGMENT_UNIFORM_VECTORS, MaxGeometryAtomicCounterBuffers = GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS, MaxGeometryAtomicCounters = GL_MAX_GEOMETRY_ATOMIC_COUNTERS, MaxGeometryImageUniforms = GL_MAX_GEOMETRY_IMAGE_UNIFORMS, MaxGeometryInputComponents = GL_MAX_GEOMETRY_INPUT_COMPONENTS, MaxGeometryOutputComponents = GL_MAX_GEOMETRY_OUTPUT_COMPONENTS, MaxGeometryOutputVertices = GL_MAX_GEOMETRY_OUTPUT_VERTICES, MaxGeometryShaderInvocations = GL_MAX_GEOMETRY_SHADER_INVOCATIONS, MaxGeometryTextureImageUnits = GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS, MaxGeometryTotalOutputComponents = GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS, MaxGeometryUniformBlocks = GL_MAX_GEOMETRY_UNIFORM_BLOCKS, MaxGeometryUniformComponents = GL_MAX_GEOMETRY_UNIFORM_COMPONENTS, MaxImageSamples = GL_MAX_IMAGE_SAMPLES, MaxImageUnits = GL_MAX_IMAGE_UNITS, MaxIntegerSamples = GL_MAX_INTEGER_SAMPLES, MaxPatchVertices = GL_MAX_PATCH_VERTICES, MaxProgramTexelOffset = GL_MAX_PROGRAM_TEXEL_OFFSET, MaxProgramTextureGatherOffset = GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET, MaxRectangleTextureSize = GL_MAX_RECTANGLE_TEXTURE_SIZE, MaxRenderbufferSize = GL_MAX_RENDERBUFFER_SIZE, MaxSampleMaskWords = GL_MAX_SAMPLE_MASK_WORDS, MaxSamples = GL_MAX_SAMPLES, MaxServerWaitTimeout = GL_MAX_SERVER_WAIT_TIMEOUT, MaxSubroutines = GL_MAX_SUBROUTINES, MaxSubroutineUniformLocations = GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS, MaxTessControlAtomicCounterBuffers = GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS, MaxTessControlAtomicCounters = GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS, MaxTessControlImageUniforms = GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, MaxTessControlInputComponents = GL_MAX_TESS_CONTROL_INPUT_COMPONENTS, MaxTessControlOutputComponents = GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS, MaxTessControlTextureImageUnits = GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS, MaxTessControlTotalOutputComponents = GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS, MaxTessControlUniformBlocks = GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS, MaxTessControlUniformComponents = GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS, MaxTessEvaluationAtomicCounterBuffers = GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS, MaxTessEvaluationAtomicCounters = GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS, MaxTessEvaluationImageUniforms = GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, MaxTessEvaluationInputComponents = GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS, MaxTessEvaluationOutputComponents = GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS, MaxTessEvaluationTextureImageUnits = GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS, MaxTessEvaluationUniformBlocks = GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS, MaxTessEvaluationUniformComponents = GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS, MaxTessGenLevel = GL_MAX_TESS_GEN_LEVEL, MaxTessPatchComponents = GL_MAX_TESS_PATCH_COMPONENTS, MaxTextureBufferSize = GL_MAX_TEXTURE_BUFFER_SIZE, MaxTextureImageUnits = GL_MAX_TEXTURE_IMAGE_UNITS, MaxTextureLodBias = GL_MAX_TEXTURE_LOD_BIAS, MaxTextureSize = GL_MAX_TEXTURE_SIZE, MaxTransformFeedbackBuffers = GL_MAX_TRANSFORM_FEEDBACK_BUFFERS, MaxTransformFeedbackInterleavedComponents = GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS, MaxTransformFeedbackSeparateAttribs = GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS, MaxTransformFeedbackSeparateComponents = GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS, MaxUniformBlockSize = GL_MAX_UNIFORM_BLOCK_SIZE, MaxUniformBufferBindings = GL_MAX_UNIFORM_BUFFER_BINDINGS, MaxVaryingComponents = GL_MAX_VARYING_COMPONENTS, MaxVaryingVectors = GL_MAX_VARYING_VECTORS, MaxVertexAtomicCounterBuffers = GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS, MaxVertexAtomicCounters = GL_MAX_VERTEX_ATOMIC_COUNTERS, MaxVertexAttribs = GL_MAX_VERTEX_ATTRIBS, MaxVertexImageUniforms = GL_MAX_VERTEX_IMAGE_UNIFORMS, MaxVertexOutputComponents = GL_MAX_VERTEX_OUTPUT_COMPONENTS, MaxVertexStreams = GL_MAX_VERTEX_STREAMS, MaxVertexTextureImageUnits = GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, MaxVertexUniformBlocks = GL_MAX_VERTEX_UNIFORM_BLOCKS, MaxVertexUniformComponents = GL_MAX_VERTEX_UNIFORM_COMPONENTS, MaxVertexUniformVectors = GL_MAX_VERTEX_UNIFORM_VECTORS, MaxComputeUniformBlocks = GL_MAX_COMPUTE_UNIFORM_BLOCKS, MaxComputeUniformComponents = GL_MAX_COMPUTE_UNIFORM_COMPONENTS, MaxCombinedComputeUniformComponents = GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS, MaxComputeTextureImageUnits = GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS, MaxViewportDims = GL_MAX_VIEWPORT_DIMS, MaxViewports = GL_MAX_VIEWPORTS, MaxComputeWorkGroupCount = GL_MAX_COMPUTE_WORK_GROUP_COUNT, MaxComputeWorkGroupSize = GL_MAX_COMPUTE_WORK_GROUP_SIZE, MaxComputeWorkGroupInvocations = GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, MaxComputeSharedMemorySize = GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, MinFragmentInterpolationOffset = GL_MIN_FRAGMENT_INTERPOLATION_OFFSET, MinMapBufferAlignment = GL_MIN_MAP_BUFFER_ALIGNMENT, MinProgramTexelOffset = GL_MIN_PROGRAM_TEXEL_OFFSET, MinProgramTextureGatherOffset = GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET }; template <> Range<LimitQuery> EnumValueRange<LimitQuery>(void); StrCRef EnumValueName(LimitQuery);
LimitQuery
to class
#if !OGLPLUS_NO_ENUM_VALUE_CLASSES
namespace enums {
template <typename Base, template<LimitQuery> class Transform>
class EnumToClass<Base, LimitQuery, Transform>
: public Base
{
public:
EnumToClass(void);
EnumToClass(Base&& base);
Transform<LimitQuery::Max3DTextureSize>
Max3DTextureSize;
Transform<LimitQuery::MaxArrayTextureLayers>
MaxArrayTextureLayers;
Transform<LimitQuery::MaxAtomicCounterBufferBindings>
MaxAtomicCounterBufferBindings;
Transform<LimitQuery::MaxAtomicCounterBufferSize>
MaxAtomicCounterBufferSize;
Transform<LimitQuery::MaxClipDistances>
MaxClipDistances;
Transform<LimitQuery::MaxCullDistances>
MaxCullDistances;
Transform<LimitQuery::MaxCombinedClipAndCullDistances>
MaxCombinedClipAndCullDistances;
Transform<LimitQuery::MaxColorAttachments>
MaxColorAttachments;
Transform<LimitQuery::MaxColorTextureSamples>
MaxColorTextureSamples;
Transform<LimitQuery::MaxCombinedAtomicCounterBuffers>
MaxCombinedAtomicCounterBuffers;
Transform<LimitQuery::MaxCombinedAtomicCounters>
MaxCombinedAtomicCounters;
Transform<LimitQuery::MaxCombinedFragmentUniformComponents>
MaxCombinedFragmentUniformComponents;
Transform<LimitQuery::MaxCombinedGeometryUniformComponents>
MaxCombinedGeometryUniformComponents;
Transform<LimitQuery::MaxCombinedImageUniforms>
MaxCombinedImageUniforms;
Transform<LimitQuery::MaxCombinedImageUnitsAndFragmentOutputs>
MaxCombinedImageUnitsAndFragmentOutputs;
Transform<LimitQuery::MaxCombinedTessControlUniformComponents>
MaxCombinedTessControlUniformComponents;
Transform<LimitQuery::MaxCombinedTessEvaluationUniformComponents>
MaxCombinedTessEvaluationUniformComponents;
Transform<LimitQuery::MaxCombinedTextureImageUnits>
MaxCombinedTextureImageUnits;
Transform<LimitQuery::MaxCombinedUniformBlocks>
MaxCombinedUniformBlocks;
Transform<LimitQuery::MaxCombinedVertexUniformComponents>
MaxCombinedVertexUniformComponents;
Transform<LimitQuery::MaxCubeMapTextureSize>
MaxCubeMapTextureSize;
Transform<LimitQuery::MaxDepthTextureSamples>
MaxDepthTextureSamples;
Transform<LimitQuery::MaxDrawBuffers>
MaxDrawBuffers;
Transform<LimitQuery::MaxDualSourceDrawBuffers>
MaxDualSourceDrawBuffers;
Transform<LimitQuery::MaxElementsIndices>
MaxElementsIndices;
Transform<LimitQuery::MaxElementsVertices>
MaxElementsVertices;
Transform<LimitQuery::MaxFragmentAtomicCounterBuffers>
MaxFragmentAtomicCounterBuffers;
Transform<LimitQuery::MaxFragmentAtomicCounters>
MaxFragmentAtomicCounters;
Transform<LimitQuery::MaxFragmentImageUniforms>
MaxFragmentImageUniforms;
Transform<LimitQuery::MaxFragmentInputComponents>
MaxFragmentInputComponents;
Transform<LimitQuery::MaxFragmentInterpolationOffset>
MaxFragmentInterpolationOffset;
Transform<LimitQuery::MaxFragmentUniformBlocks>
MaxFragmentUniformBlocks;
Transform<LimitQuery::MaxFragmentUniformComponents>
MaxFragmentUniformComponents;
Transform<LimitQuery::MaxFragmentUniformVectors>
MaxFragmentUniformVectors;
Transform<LimitQuery::MaxGeometryAtomicCounterBuffers>
MaxGeometryAtomicCounterBuffers;
Transform<LimitQuery::MaxGeometryAtomicCounters>
MaxGeometryAtomicCounters;
Transform<LimitQuery::MaxGeometryImageUniforms>
MaxGeometryImageUniforms;
Transform<LimitQuery::MaxGeometryInputComponents>
MaxGeometryInputComponents;
Transform<LimitQuery::MaxGeometryOutputComponents>
MaxGeometryOutputComponents;
Transform<LimitQuery::MaxGeometryOutputVertices>
MaxGeometryOutputVertices;
Transform<LimitQuery::MaxGeometryShaderInvocations>
MaxGeometryShaderInvocations;
Transform<LimitQuery::MaxGeometryTextureImageUnits>
MaxGeometryTextureImageUnits;
Transform<LimitQuery::MaxGeometryTotalOutputComponents>
MaxGeometryTotalOutputComponents;
Transform<LimitQuery::MaxGeometryUniformBlocks>
MaxGeometryUniformBlocks;
Transform<LimitQuery::MaxGeometryUniformComponents>
MaxGeometryUniformComponents;
Transform<LimitQuery::MaxImageSamples>
MaxImageSamples;
Transform<LimitQuery::MaxImageUnits>
MaxImageUnits;
Transform<LimitQuery::MaxIntegerSamples>
MaxIntegerSamples;
Transform<LimitQuery::MaxPatchVertices>
MaxPatchVertices;
Transform<LimitQuery::MaxProgramTexelOffset>
MaxProgramTexelOffset;
Transform<LimitQuery::MaxProgramTextureGatherOffset>
MaxProgramTextureGatherOffset;
Transform<LimitQuery::MaxRectangleTextureSize>
MaxRectangleTextureSize;
Transform<LimitQuery::MaxRenderbufferSize>
MaxRenderbufferSize;
Transform<LimitQuery::MaxSampleMaskWords>
MaxSampleMaskWords;
Transform<LimitQuery::MaxSamples>
MaxSamples;
Transform<LimitQuery::MaxServerWaitTimeout>
MaxServerWaitTimeout;
Transform<LimitQuery::MaxSubroutines>
MaxSubroutines;
Transform<LimitQuery::MaxSubroutineUniformLocations>
MaxSubroutineUniformLocations;
Transform<LimitQuery::MaxTessControlAtomicCounterBuffers>
MaxTessControlAtomicCounterBuffers;
Transform<LimitQuery::MaxTessControlAtomicCounters>
MaxTessControlAtomicCounters;
Transform<LimitQuery::MaxTessControlImageUniforms>
MaxTessControlImageUniforms;
Transform<LimitQuery::MaxTessControlInputComponents>
MaxTessControlInputComponents;
Transform<LimitQuery::MaxTessControlOutputComponents>
MaxTessControlOutputComponents;
Transform<LimitQuery::MaxTessControlTextureImageUnits>
MaxTessControlTextureImageUnits;
Transform<LimitQuery::MaxTessControlTotalOutputComponents>
MaxTessControlTotalOutputComponents;
Transform<LimitQuery::MaxTessControlUniformBlocks>
MaxTessControlUniformBlocks;
Transform<LimitQuery::MaxTessControlUniformComponents>
MaxTessControlUniformComponents;
Transform<LimitQuery::MaxTessEvaluationAtomicCounterBuffers>
MaxTessEvaluationAtomicCounterBuffers;
Transform<LimitQuery::MaxTessEvaluationAtomicCounters>
MaxTessEvaluationAtomicCounters;
Transform<LimitQuery::MaxTessEvaluationImageUniforms>
MaxTessEvaluationImageUniforms;
Transform<LimitQuery::MaxTessEvaluationInputComponents>
MaxTessEvaluationInputComponents;
Transform<LimitQuery::MaxTessEvaluationOutputComponents>
MaxTessEvaluationOutputComponents;
Transform<LimitQuery::MaxTessEvaluationTextureImageUnits>
MaxTessEvaluationTextureImageUnits;
Transform<LimitQuery::MaxTessEvaluationUniformBlocks>
MaxTessEvaluationUniformBlocks;
Transform<LimitQuery::MaxTessEvaluationUniformComponents>
MaxTessEvaluationUniformComponents;
Transform<LimitQuery::MaxTessGenLevel>
MaxTessGenLevel;
Transform<LimitQuery::MaxTessPatchComponents>
MaxTessPatchComponents;
Transform<LimitQuery::MaxTextureBufferSize>
MaxTextureBufferSize;
Transform<LimitQuery::MaxTextureImageUnits>
MaxTextureImageUnits;
Transform<LimitQuery::MaxTextureLodBias>
MaxTextureLodBias;
Transform<LimitQuery::MaxTextureSize>
MaxTextureSize;
Transform<LimitQuery::MaxTransformFeedbackBuffers>
MaxTransformFeedbackBuffers;
Transform<LimitQuery::MaxTransformFeedbackInterleavedComponents>
MaxTransformFeedbackInterleavedComponents;
Transform<LimitQuery::MaxTransformFeedbackSeparateAttribs>
MaxTransformFeedbackSeparateAttribs;
Transform<LimitQuery::MaxTransformFeedbackSeparateComponents>
MaxTransformFeedbackSeparateComponents;
Transform<LimitQuery::MaxUniformBlockSize>
MaxUniformBlockSize;
Transform<LimitQuery::MaxUniformBufferBindings>
MaxUniformBufferBindings;
Transform<LimitQuery::MaxVaryingComponents>
MaxVaryingComponents;
Transform<LimitQuery::MaxVaryingVectors>
MaxVaryingVectors;
Transform<LimitQuery::MaxVertexAtomicCounterBuffers>
MaxVertexAtomicCounterBuffers;
Transform<LimitQuery::MaxVertexAtomicCounters>
MaxVertexAtomicCounters;
Transform<LimitQuery::MaxVertexAttribs>
MaxVertexAttribs;
Transform<LimitQuery::MaxVertexImageUniforms>
MaxVertexImageUniforms;
Transform<LimitQuery::MaxVertexOutputComponents>
MaxVertexOutputComponents;
Transform<LimitQuery::MaxVertexStreams>
MaxVertexStreams;
Transform<LimitQuery::MaxVertexTextureImageUnits>
MaxVertexTextureImageUnits;
Transform<LimitQuery::MaxVertexUniformBlocks>
MaxVertexUniformBlocks;
Transform<LimitQuery::MaxVertexUniformComponents>
MaxVertexUniformComponents;
Transform<LimitQuery::MaxVertexUniformVectors>
MaxVertexUniformVectors;
Transform<LimitQuery::MaxComputeUniformBlocks>
MaxComputeUniformBlocks;
Transform<LimitQuery::MaxComputeUniformComponents>
MaxComputeUniformComponents;
Transform<LimitQuery::MaxCombinedComputeUniformComponents>
MaxCombinedComputeUniformComponents;
Transform<LimitQuery::MaxComputeTextureImageUnits>
MaxComputeTextureImageUnits;
Transform<LimitQuery::MaxViewportDims>
MaxViewportDims;
Transform<LimitQuery::MaxViewports>
MaxViewports;
Transform<LimitQuery::MaxComputeWorkGroupCount>
MaxComputeWorkGroupCount;
Transform<LimitQuery::MaxComputeWorkGroupSize>
MaxComputeWorkGroupSize;
Transform<LimitQuery::MaxComputeWorkGroupInvocations>
MaxComputeWorkGroupInvocations;
Transform<LimitQuery::MaxComputeSharedMemorySize>
MaxComputeSharedMemorySize;
Transform<LimitQuery::MinFragmentInterpolationOffset>
MinFragmentInterpolationOffset;
Transform<LimitQuery::MinMapBufferAlignment>
MinMapBufferAlignment;
Transform<LimitQuery::MinProgramTexelOffset>
MinProgramTexelOffset;
Transform<LimitQuery::MinProgramTextureGatherOffset>
MinProgramTextureGatherOffset;
};
} // namespace enums
#endif
Specialization of EnumToClass for the LimitQuery enumeration. |