Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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)
 
static constexpr QSSGRenderTextureCubeFaceT indexOfCubeFace (QSSGRenderTextureCubeFace face) noexcept
 

Detailed Description

Definition at line 355 of file qssgrenderbasetypes_p.h.

Member Function Documentation

◆ displayName()

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

Definition at line 688 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 708 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:

◆ indexOfCubeFace()

static constexpr QSSGRenderTextureCubeFaceT QSSGBaseTypeHelpers::indexOfCubeFace ( QSSGRenderTextureCubeFace face)
inlinestaticconstexprnoexcept

◆ next()

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

Definition at line 375 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 377 of file qssgrenderbasetypes_p.h.

References QSSGRenderTextureCubeFaces.

◆ toString() [1/9]

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

Definition at line 543 of file qssgrenderbasetypes.cpp.

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

◆ toString() [2/9]

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

Definition at line 607 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 658 of file qssgrenderbasetypes.cpp.

References ClampToEdge, MirroredRepeat, Repeat, and Unknown.

◆ toString() [5/9]

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

Definition at line 561 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 674 of file qssgrenderbasetypes.cpp.

References Linear, Nearest, and None.

◆ toString() [7/9]

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

Definition at line 653 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 531 of file qssgrenderbasetypes.cpp.

References Clockwise, and CounterClockwise.


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