Berserk
|
Single rendering pass stage of the shader. More...
#include <ShaderPass.hpp>
Public Member Functions | |
BRK_API | ShaderPass ()=default |
BRK_API | ~ShaderPass () override=default |
BRK_API void | SetName (StringName name) |
BRK_API void | SetShader (Ref< RHIShader > shader) |
BRK_API void | SetTechnique (class ShaderTechnique *technique) |
BRK_API void | FillPipelineDesc (RHIGraphicsPipelineDesc &desc) const |
BRK_API bool | IsCompiled () const |
BRK_API const StringName & | GetName () const |
BRK_API const Ref< RHIShader > & | GetShader () const |
BRK_API class ShaderTechnique * | GetTechnique () const |
![]() | |
virtual | ~RefCnt () |
bool | IsUnique () const |
std::int32_t | GetRefs () const |
std::int32_t | AddRef () const |
std::int32_t | RelRef () const |
Additional Inherited Members | |
![]() | |
virtual void | Destroy () const |
Single rendering pass stage of the shader.
|
default |
Construct empty render pass
|
overridedefault |
void ShaderPass::FillPipelineDesc | ( | RHIGraphicsPipelineDesc & | desc | ) | const |
Fill pipeline descriptor
|
inline |
|
inline |
bool ShaderPass::IsCompiled | ( | ) | const |
BRK_NS_BEGIN void ShaderPass::SetName | ( | StringName | name | ) |
Set pass name within technique
void ShaderPass::SetTechnique | ( | class ShaderTechnique * | technique | ) |
Set technique this pass belongs to