![]() |
LLGL 0.05 Beta
|
#include <LLGL/Export.h>#include <LLGL/Types.h>#include <LLGL/VertexAttribute.h>#include <LLGL/FragmentAttribute.h>#include <LLGL/IncludeHandler.h>#include <LLGL/Deprecated.h>#include <cstddef>#include <vector>Classes | |
| struct | LLGL::ShaderCompileFlags |
| Shader compilation flags enumeration. More... | |
| struct | LLGL::StageFlags |
| Shader stage flags enumeration. More... | |
| struct | LLGL::ShaderMacro |
| Shader macro structure with name and optional body definition. More... | |
| struct | LLGL::VertexShaderAttributes |
| Vertex (or geometry or tessellation-evaluation) shader specific structure. More... | |
| struct | LLGL::FragmentShaderAttributes |
| Fragment shader specific descriptor structure. More... | |
| struct | LLGL::ComputeShaderAttributes |
| Compute shader specific descriptor structure. More... | |
| struct | LLGL::ShaderDescriptor |
| Shader source and binary code descriptor structure. More... | |
Namespaces | |
| namespace | LLGL |
Enumerations | |
| enum class | LLGL::ShaderType { LLGL::Undefined , LLGL::Vertex , LLGL::TessControl , LLGL::TessEvaluation , LLGL::Geometry , LLGL::Fragment , LLGL::Compute , LLGL::Task , LLGL::Mesh , LLGL::LLGL_DEPRECATED_ENUMCASE =("Identifier `Amplification` is deprecated since 0.05b; Use `Task` instead!", "Task") = Task } |
| Shader type enumeration. More... | |
| enum class | LLGL::ShaderSourceType { LLGL::CodeString , LLGL::CodeFile , LLGL::BinaryBuffer , LLGL::BinaryFile } |
| Shader source type enumeration. More... | |
Functions | |
| LLGL_EXPORT bool | LLGL::IsShaderSourceCode (const ShaderSourceType type) |
| Returns true if the specified shader source type is either ShaderSourceType::CodeString or ShaderSourceType::CodeFile. | |
| LLGL_EXPORT bool | LLGL::IsShaderSourceBinary (const ShaderSourceType type) |
| Returns true if the specified shader source type is either ShaderSourceType::BinaryBuffer or ShaderSourceType::BinaryFile. | |
| LLGL_EXPORT long | LLGL::GetStageFlags (const ShaderType type) |
| Returns the StageFlags bitmask for the specified shader type. | |