|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/GPUShader.hpp>
Public Attributes | |
| const GPUShaderReflectionDescriptor & | reflection |
| The shader reflection descriptor. | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPUShaderProgramDescriptor > | |
| const Descriptor & | descriptor |
| A structure that describes the object and it's properties. | |
Public Attributes inherited from CeresEngine::GPUDeviceObject | |
| GPUDevice & | device |
| The owning device this object was created from. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::TDeviceObject< GPUShaderProgramDescriptor > | |
| using | Descriptor = GPUShaderProgramDescriptor |
| An type-alias to the descriptor struct type. | |
Protected Member Functions inherited from CeresEngine::GPUObject | |
| virtual void | destroy () noexcept |
| A internal method called by the system when the object reference count reaches zero. | |
|
inlineexplicit |
Initializes a new ShaderProgram object instance.
|
delete |
Deleted copy constructor.
|
delete |
Deleted move constructor.
|
pure virtual |
The pipeline layout deduced for this shader program.
Will be used if the user doesn't provide another when creating a new pipeline.
Can be null if the shader doesn't have any reflection metadata to create a pipeline layout for the program.
Implemented in CeresEngine::MTShaderProgram, CeresEngine::MKShaderProgram, CeresEngine::NLShaderProgram, CeresEngine::VKShaderProgram, CeresEngine::WGShaderProgram, and CeresEngine::GLShaderProgram.
|
delete |
|
delete |
|
inline |
Extracts reflection information from the shader.
|
delete |
Inherited constructors.
|
inlineexplicit |
Inherited constructors.
|
delete |
Inherited constructors.
| const GPUShaderReflectionDescriptor& CeresEngine::GPUShaderProgram::reflection |
The shader reflection descriptor.
Can be used to enumerate shader input, output, parameters and other introspectable data.