LLGL 0.05 Beta
Loading...
Searching...
No Matches
Global type-to-string conversion functions.

Functions

LLGL_EXPORT const char * LLGL::ToString (const ShaderType val)
 Returns a string representation for the specified ShaderType value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const ErrorType val)
 Returns a string representation for the specified ErrorType value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const WarningType val)
 Returns a string representation for the specified WarningType value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const ShadingLanguage val)
 Returns a string representation for the specified ShadingLanguage value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const Format val)
 Returns a string representation for the specified Format value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const ImageFormat val)
 Returns a string representation for the specified ImageFormat value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const TextureType val)
 Returns a string representation for the specified TextureType value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const BlendOp val)
 Returns a string representation for the specified BlendOp value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const ResourceType val)
 Returns a string representation for the specified ResourceType value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const SystemValue val)
 Returns a string representation for the specified SystemValue value, or null if the input type is invalid.
LLGL_EXPORT const char * LLGL::ToString (const QueryType val)
 Returns a string representation for the specified QueryType value, or null if the input type is invalid.

Detailed Description

Function Documentation

◆ ToString() [1/11]

LLGL_EXPORT const char * LLGL::ToString ( const BlendOp val)

Returns a string representation for the specified BlendOp value, or null if the input type is invalid.

Remarks
Return value examples are "Zero", "SrcAlpha".

◆ ToString() [2/11]

LLGL_EXPORT const char * LLGL::ToString ( const ErrorType val)

Returns a string representation for the specified ErrorType value, or null if the input type is invalid.

Remarks
Return value examples are "invalid argument", "unsupported feature".

◆ ToString() [3/11]

LLGL_EXPORT const char * LLGL::ToString ( const Format val)

Returns a string representation for the specified Format value, or null if the input type is invalid.

Remarks
Return value examples are "R8UNorm", "RGBA16Float", "D24UNormS8UInt", "RGB DXT1".

◆ ToString() [4/11]

LLGL_EXPORT const char * LLGL::ToString ( const ImageFormat val)

Returns a string representation for the specified ImageFormat value, or null if the input type is invalid.

Remarks
Return value examples are "RGB", "ABGR".

◆ ToString() [5/11]

LLGL_EXPORT const char * LLGL::ToString ( const QueryType val)

Returns a string representation for the specified QueryType value, or null if the input type is invalid.

Remarks
Return value examples are "SamplesPassed", "AnySamplesPassed".

◆ ToString() [6/11]

LLGL_EXPORT const char * LLGL::ToString ( const ResourceType val)

Returns a string representation for the specified ResourceType value, or null if the input type is invalid.

Remarks
Return value examples are "buffer", "texture".

◆ ToString() [7/11]

LLGL_EXPORT const char * LLGL::ToString ( const ShaderType val)

Returns a string representation for the specified ShaderType value, or null if the input type is invalid.

Remarks
Return value examples are "vertex", "tessellation control".

◆ ToString() [8/11]

LLGL_EXPORT const char * LLGL::ToString ( const ShadingLanguage val)

Returns a string representation for the specified ShadingLanguage value, or null if the input type is invalid.

Remarks
Return value examples are "GLSL 450", "HLSL 2.0c".

◆ ToString() [9/11]

LLGL_EXPORT const char * LLGL::ToString ( const SystemValue val)

Returns a string representation for the specified SystemValue value, or null if the input type is invalid.

Remarks
Return value examples are "Position", "ClipDistance".

◆ ToString() [10/11]

LLGL_EXPORT const char * LLGL::ToString ( const TextureType val)

Returns a string representation for the specified TextureType value, or null if the input type is invalid.

Remarks
Return value examples are "Texture1D", "Texture2DArray".

◆ ToString() [11/11]

LLGL_EXPORT const char * LLGL::ToString ( const WarningType val)

Returns a string representation for the specified WarningType value, or null if the input type is invalid.

Remarks
Return value examples are "improper argument", "pointless operation".