Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGBaseTypeHelpers Class Reference

#include <qssgrenderbasetypes_p.h>

+ Collaboration diagram for QSSGBaseTypeHelpers:

Static Public Member Functions

static const char * toString (QSSGRenderTextureCubeFace value)
 
static const char * toString (QSSGRenderTextureTypeValue value)
 
static const char * toString (QSSGDepthDrawMode value)
 
static const char * toString (QSSGRenderWinding value)
 
static const char * toString (QSSGCullFaceMode value)
 
static const char * toString (QSSGRenderComponentType value)
 
static const char * toString (QSSGRenderTextureFormat::Format value)
 
static const char * toString (QSSGRenderTextureCoordOp value)
 
static const char * toString (QSSGRenderTextureFilterOp value)
 
static const char * displayName (QSSGRenderTextureCubeFace face)
 
static size_t getSizeOfType (QSSGRenderComponentType type)
 
static constexpr QSSGRenderTextureCubeFace next (QSSGRenderTextureCubeFace face)
 
static constexpr QSSGRenderTextureCubeFace prev (QSSGRenderTextureCubeFace face)
 

Detailed Description

Definition at line 570 of file qssgrenderbasetypes_p.h.

Member Function Documentation

◆ displayName()

const char * QSSGBaseTypeHelpers::displayName ( QSSGRenderTextureCubeFace  face)
static

Definition at line 542 of file qssgrenderbasetypes.cpp.

References NegX, NegY, NegZ, PosX, PosY, and PosZ.

Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), and QSSGRenderShadowMap::addShadowMapEntry().

+ Here is the caller graph for this function:

◆ getSizeOfType()

size_t QSSGBaseTypeHelpers::getSizeOfType ( QSSGRenderComponentType  type)
static

Definition at line 562 of file qssgrenderbasetypes.cpp.

References Float16, Float32, Float64, Int16, Int32, Int64, Int8, qint8, UnsignedInt16, UnsignedInt32, UnsignedInt64, and UnsignedInt8.

Referenced by QSSGMeshBVHBuilder::buildTree(), and QSSGMesh::MeshInternal::byteSizeForComponentType().

+ Here is the caller graph for this function:

◆ next()

static constexpr QSSGRenderTextureCubeFace QSSGBaseTypeHelpers::next ( QSSGRenderTextureCubeFace  face)
inlinestaticconstexpr

Definition at line 590 of file qssgrenderbasetypes_p.h.

References QSSGRenderTextureCubeFaces.

Referenced by RenderHelpers::rhiRenderReflectionMap().

+ Here is the caller graph for this function:

◆ prev()

static constexpr QSSGRenderTextureCubeFace QSSGBaseTypeHelpers::prev ( QSSGRenderTextureCubeFace  face)
inlinestaticconstexpr

Definition at line 592 of file qssgrenderbasetypes_p.h.

References QSSGRenderTextureCubeFaces.

◆ toString() [1/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGCullFaceMode  value)
static

Definition at line 397 of file qssgrenderbasetypes.cpp.

References Back, Disabled, Front, FrontAndBack, and Unknown.

◆ toString() [2/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGDepthDrawMode  value)
static

Definition at line 461 of file qssgrenderbasetypes.cpp.

References Always, Never, OpaqueOnly, and OpaquePrePass.

◆ toString() [3/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderComponentType  value)
static

◆ toString() [4/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderTextureCoordOp  value)
static

Definition at line 512 of file qssgrenderbasetypes.cpp.

References ClampToEdge, MirroredRepeat, Repeat, and Unknown.

◆ toString() [5/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderTextureCubeFace  value)
static

Definition at line 415 of file qssgrenderbasetypes.cpp.

References NegX, NegY, NegZ, PosX, PosY, and PosZ.

Referenced by QSSGAllocateBuffer::addDebug().

+ Here is the caller graph for this function:

◆ toString() [6/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderTextureFilterOp  value)
static

Definition at line 528 of file qssgrenderbasetypes.cpp.

References Linear, Nearest, and None.

◆ toString() [7/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderTextureFormat::Format  value)
static

Definition at line 507 of file qssgrenderbasetypes.cpp.

References QSSGRenderTextureFormat::toString().

+ Here is the call graph for this function:

◆ toString() [8/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderTextureTypeValue  value)
static

◆ toString() [9/9]

const char * QSSGBaseTypeHelpers::toString ( QSSGRenderWinding  value)
static

Definition at line 385 of file qssgrenderbasetypes.cpp.

References Clockwise, and CounterClockwise.


The documentation for this class was generated from the following files: