33#ifndef DVD_GFX_ENUMS_H
34#define DVD_GFX_ENUMS_H
62 "None",
"OpenGL",
"Vulkan",
"ERROR"
78 "PER_DRAW",
"PER_BATCH",
"PER_PASS",
"PER_FRAME",
"NONE"
95 "PLANAR",
"CUBE",
"NONE"
131 "UNDEFINED",
"SHADER_READ",
"SHADER_WRITE",
"SHADER_READ_WRITE",
"CPU_READ",
"RT_COLOUR_ATTACHMENT",
"RT_DEPTH_ATTACHMENT",
"RT_DEPTH_STENCIL_ATTACHMENT",
"UNKNOWN"
147 "DIRECTIONAL",
"POINT",
"SPOT",
"UNKNOWN"
163 "FRUSTUM_OUT",
"FRUSTUM_IN",
"FRUSTUM_INTERSECT",
"NONE"
182 "PLANE_LEFT",
"PLANE_RIGHT",
"PLANE_TOP",
"PLANE_BOTTOM",
"PLANE_NEAR",
"PLANE_FAR",
"NONE"
203 "NEAR_LEFT_TOP",
"NEAR_RIGHT_TOP",
"NEAR_RIGHT_BOTTOM",
"NEAR_LEFT_BOTTOM",
204 "FAR_LEFT_TOP",
"FAR_RIGHT_TOP",
"FAR_RIGHT_BOTTOM",
"FAR_LEFT_BOTTOM",
227 "POSITION",
"TEXCOORD",
"NORMAL",
"TANGENT",
228 "COLOR",
"BONE_WEIGHT",
"BONE_INDICE",
"WIDTH",
246 "DISPLAY",
"REFLECTION",
"REFRACTION",
"NODE_PREVIEW",
"SHADOW",
"NONE"
262 "PRE_PASS",
"MAIN_PASS",
"OIT_PASS",
"TRANSPARENCY_PASS",
"NONE"
276 static constexpr const char*
pbType[] = {
277 "PB_TEXTURE_1D",
"PB_TEXTURE_2D",
"PB_TEXTURE_3D",
"NONE"
305 "POINTS",
"LINES",
"LINE_STRIP",
"TRIANGLES",
"TRIANGLE_STRIP",
306 "TRIANGLE_FAN",
"LINES_ADJANCENCY",
"LINE_STRIP_ADJACENCY",
307 "TRIANGLES_ADJACENCY",
"TRIANGLE_STRIP_ADJACENCY",
"PATCH",
"COMPUTE",
"NONE"
336 "ZERO",
"ONE",
"SRC_COLOR",
"INV_SRC_COLOR",
"SRC_ALPHA",
"INV_SRC_ALPHA",
"DEST_ALPHA",
"INV_DEST_ALPHA",
337 "DEST_COLOR",
"INV_DEST_COLOR",
"SRC_ALPHA_SAT",
"NONE"
364 "ADD",
"SUBTRACT",
"REV_SUBTRACT",
"MIN",
"MAX",
"NONE"
397 "NEVER",
"LESS",
"EQUAL",
"LEQUAL",
"GREATER",
"NEQUAL",
"GEQUAL",
"ALWAYS",
"ERROR"
418 "None",
"BACK",
"FRONT",
"ALL",
"ERROR!"
437 "Fragment",
"Vertex",
"Geometry",
"TessellationC",
"TessellationE",
"Compute",
"ERROR!"
490 "KEEP",
"ZERO",
"REPLACE",
"INCREMENT",
"DECREMENT",
"INVERT",
"INCREMENT_WRAP",
"DECREMENT_WRAP",
"ERROR"
511 "Point",
"Wireframe",
"Solid",
"ERROR!"
536 "TEXTURE_CUBE_ARRAY",
557 "TRANSPARENT_BLACK_INT",
"TRANSPARENT_BLACK_F32",
"OPAQUE_BLACK_INT",
"OPAQUE_BLACK_F32",
"OPAQUE_WHITE_INT",
"OPAQUE_WHITE_F32",
"CUSTOM_INT",
"CUSTOM_F32",
"NONE"
571 "LINEAR",
"NEAREST",
"NONE"
587 "LINEAR",
"NEAREST",
"NONE",
"ERROR"
604 "CLAMP_TO_EDGE",
"CLAMP_TO_BORDER",
"REPEAT",
"MIRROR_REPEAT",
"MIRROR_CLAMP_TO_EDGE",
"NONE"
645 "RED",
"RG",
"BGR",
"RGB",
"BGRA",
"RGBA",
"BC1/DXT1_RGB",
"BC1a/DXT1_RGBA",
"BC2/DXT3_RGBA",
646 "BC3/DXT5_RGBA",
"BC3n",
"BC4s",
"BC4u",
"BC5s",
"BC5u",
"BC6s",
"BC6u",
"BC7",
"NONE",
666 "UNSIGNED_BYTE",
"UNSIGNED_SHORT",
"UNSIGNED_INT",
"SIGNED_BYTE",
"SIGNED_SHORT",
"SIGNED_INT",
667 "FLOAT_16",
"FLOAT_32",
"ERROR"
688 "NORMALIZED",
"NORMALIZED_SRGB",
"UNNORMALIZED",
"RGB_565",
"RGBA_4444",
"DEPTH",
"DEPTH_STENCIL",
"ERROR"
712 "NVIDIA",
"AMD",
"INTEL",
"MICROSOFT",
"IMAGINATION_TECH",
"ARM",
713 "QUALCOMM",
"VIVANTE",
"ALPHAMOSAIC",
"WEBGL",
"MESA",
"OTHER",
"ERROR"
737 "UNKNOWN",
"ADRENO",
"GEFORCE",
"INTEL",
"MALI",
"POWERVR",
738 "RADEON",
"VIDEOCORE",
"VIVANTE",
"WEBGL",
"GDI",
"SOFTWARE",
"ERROR"
756 "VERTEX_BUFFER",
"INDEX_BUFFER",
"STAGING_BUFFER",
"CONSTANT_BUFFER",
"UNBOUND_BUFFER",
"COMMAND_BUFFER",
"NONE"
778 "CPU_WRITE_TO_GPU_READ",
"GPU_WRITE_TO_CPU_READ",
"GPU_WRITE_TO_GPU_READ",
"GPU_WRITE_TO_GPU_WRITE",
"GPU_READ_TO_GPU_WRITE",
"CPU_WRITE_TO_CPU_READ",
"CPU_READ_TO_CPU_WRITE",
"CPU_WRITE_TO_CPU_WRITE",
"NONE"
793 "CPU_TO_GPU",
"GPU_TO_CPU",
"GPU_TO_GPU",
"NONE"
808 "ONCE",
"OCASSIONAL",
"OFTEN",
"NONE"
828 "VERTICES_SUBMITTED",
"PRIMITIVES_GENERATED",
"TESSELLATION_PATCHES",
"TESSELLATION_EVAL_INVOCATIONS",
"GPU_TIME",
"SAMPLE_COUNT",
"ANY_SAMPLE_RENDERED",
"NONE"
static constexpr const char * blendProperty[]
static constexpr const char * textureWrap[]
static constexpr const char * cullModes[]
static constexpr const char * bufferUpdateFrequency[]
static const char * renderAPI[]
static constexpr const char * reflectorType[]
static constexpr const char * GFXImagePacking[]
static constexpr const char * queryType[]
static constexpr const char * attribLocation[]
static constexpr const char * fillMode[]
static constexpr const char * GPUVendor[]
static constexpr const char * GPURenderer[]
static constexpr const char * frustumPlane[]
static constexpr const char * textureMipSampling[]
static constexpr const char * textureFilter[]
static constexpr const char * bufferUpdateUsage[]
static constexpr const char * imageUsage[]
static constexpr const char * lightType[]
static constexpr const char * textureBorderColour[]
static constexpr const char * pbType[]
static constexpr const char * GFXDataFormat[]
static constexpr const char * frustumCollision[]
static constexpr const char * GFXImageFormat[]
static constexpr const char * primitiveType[]
static constexpr const char * blendOperation[]
static constexpr const char * compFunctionNames[]
static constexpr const char * bufferUsageType[]
static constexpr const char * renderStage[]
static constexpr const char * refractorType[]
static constexpr const char * stencilOpNames[]
static constexpr const char * bufferSyncUsage[]
static constexpr const char * shaderTypes[]
static constexpr const char * frustumPoints[]
static constexpr const char * renderPassType[]
static constexpr const char * descriptorSetUsage[]
static constexpr const char * textureType[]
Handle console commands that start with a forward slash.
@ RT_DEPTH_STENCIL_ATTACHMENT
std::array< bool, to_base(AttribLocation::COUNT)> AttributeFlags
constexpr RenderTargetID SCREEN_TARGET_ID
@ TRIANGLE_STRIP_ADJACENCY
StencilOperation
Valid front and back stencil test actions.
@ INV
Bitwise inverts the current stencil buffer value.
@ COUNT
Place all properties above this.
@ KEEP
Keeps the current value.
@ DECR
Decrements the current stencil buffer value. Clamps to 0.
BlendProperty
Specifies how the red, green, blue, and alpha source blending factors are computed.
@ COUNT
Place all properties above this.
BlendOperation
Specifies how source and destination colours are combined.
@ COUNT
Place all properties above this.
@ NEQUAL
Passes if the incoming YYY value is not equal to the stored YYY value.
@ LESS
Passes if the incoming YYY value is less than the stored YYY value.
@ COUNT
Place all properties above this.
@ EQUAL
Passes if the incoming YYY value is equal to the stored YYY value.
@ GREATER
Passes if the incoming YYY value is greater than the stored YYY value.
constexpr U8 INVALID_TEXTURE_BINDING
@ TESSELLATION_EVAL_INVOCATIONS
constexpr RenderTargetID INVALID_RENDER_TARGET_ID
@ Vulkan
not supported yet
@ None
No rendering. Used for testing or server code.
LightType
The different types of lights supported.
FillMode
Defines all available fill modes for primitives.
@ WIREFRAME
Boundary edges of the polygon are drawn as line segments.
@ COUNT
Place all properties above this.
@ SOLID
The interior of the polygon is filled.
AttribLocation
State the various attribute locations to use in shaders with VAO/VB's.
ShaderType
Available shader stages.
std::array< size_t, to_base(AttribLocation::COUNT)> AttributeOffsets
CullMode
Specifies whether front- or back-facing facets are candidates for culling.
@ BACK
Cull Back facing polygons (aka CW)
@ COUNT
Place all properties above this.
@ FRONT
Cull Front facing polygons (aka CCW)
constexpr T toBit(const T X)
Converts an arbitrary positive integer value to a bitwise value used for masks.
constexpr auto to_base(const Type value) -> Type
std::array< std::pair< QueryType, I64 >, to_base(QueryType::COUNT)> QueryResults