3#include "../IEffects.h"
9#include "../Base/EffectsCommon.h"
15 VkPipelineLayout pipelineLayout;
17 std::vector<VkDescriptorSetLayout> descriptorSetLayouts;
44 bool initializeEffectLayout(
EffectVK & effect);
EffectHandle loadComputeEffect(const StringView &fileName, EffectFlags::EEffectFlags effectFlags=EffectFlags::None) override
Load the compute shader with the given file name and create an effect.
void releaseEffect(EffectHandle effectHandle) override
Release the effect with the given handle, freeing all resources generated during program loading.
void releaseResources() override
Release all allocated effect resources.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
std::vector< PreprocessorDefinition > PreprocessorDefinitions
A set of preprocessor definitions.
Contains an effect description used to load a single effect.
EEffectFlags
Effect source flags.