Cogs.Core
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Cogs::Core::MipLevelsTask Struct Reference
Inheritance diagram for Cogs::Core::MipLevelsTask:
Cogs::Core::PostProcessTask Cogs::Core::ProcessTask Cogs::Core::RenderTask

Public Member Functions

void initialize (RenderTaskContext *context) override
 
void cleanup (RenderTaskContext *context) override
 
void apply (RenderTaskContext *context) override
 
- Public Member Functions inherited from Cogs::Core::PostProcessTask
void initialize (RenderTaskContext *context) override
 
void apply (RenderTaskContext *context) override
 
- Public Member Functions inherited from Cogs::Core::ProcessTask
EffectDescription createEffectDesc (RenderTaskContext *context)
 
void cleanup (RenderTaskContext *context) override
 
void setProperties (RenderTaskContext *context, Cogs::Core::RenderTexture *targetSource=nullptr)
 
- Public Member Functions inherited from Cogs::Core::RenderTask
virtual void initialize (RenderTaskContext *)
 
virtual void cleanup (RenderTaskContext *)
 
virtual void apply (RenderTaskContext *)=0
 
bool isStatic () const
 

Public Attributes

ExpressionValue< size_t > firstLevel = 0
 
ExpressionValue< size_t > lastLevel = ~0u
 
- Public Attributes inherited from Cogs::Core::PostProcessTask
bool clear = false
 
bool clearToDefault = true
 
bool viewportFromTarget = false
 
bool writeDepth = false
 
- Public Attributes inherited from Cogs::Core::ProcessTask
ParsedValue effectParameter
 
BlendMode blendMode = BlendMode::None
 
uint32_t texUnit = 0
 
ExpressionContextscope = nullptr
 
std::vector< ProcessTaskPropertyproperties
 
ProcessTaskProperty groups
 
struct CachedEffecteffect = nullptr
 
- Public Attributes inherited from Cogs::Core::RenderTask
RenderTaskResources input
 
RenderTaskResources output
 
std::string name
 
std::vector< std::string > dependencies
 
PipelineOptions options
 
RenderTaskFlags::ERenderTaskFlags flags = RenderTaskFlags::None
 
bool allowSelfDependency = false
 
size_t frameMod = 0
 
size_t frameOffset = 0
 
std::function< void(void)> deleter
 

Protected Attributes

std::vector< glm::ivec2 > sizes
 
BufferHandle parameterHandle = BufferHandle::NoHandle
 
ConstantBufferBindingHandle parameterBufferBinding = ConstantBufferBindingHandle::NoHandle
 
- Protected Attributes inherited from Cogs::Core::PostProcessTask
std::string scopeName
 
InputLayoutHandle inputLayout
 
SamplerStateBindingHandle samplerStateBindings [4]
 
SamplerStateHandle samplerStates [4]
 

Detailed Description

Definition at line 11 of file MipLevelsTask.h.

Constructor & Destructor Documentation

◆ ~MipLevelsTask()

virtual Cogs::Core::MipLevelsTask::~MipLevelsTask ( )
inlinevirtual

Definition at line 13 of file MipLevelsTask.h.

Member Function Documentation

◆ apply()

void Cogs::Core::MipLevelsTask::apply ( RenderTaskContext context)
overridevirtual

Implements Cogs::Core::RenderTask.

Definition at line 50 of file MipLevelsTask.cpp.

◆ cleanup()

void Cogs::Core::MipLevelsTask::cleanup ( RenderTaskContext context)
overridevirtual

Reimplemented from Cogs::Core::RenderTask.

Definition at line 42 of file MipLevelsTask.cpp.

◆ initialize()

void Cogs::Core::MipLevelsTask::initialize ( RenderTaskContext context)
overridevirtual

Reimplemented from Cogs::Core::RenderTask.

Definition at line 29 of file MipLevelsTask.cpp.

Member Data Documentation

◆ firstLevel

ExpressionValue<size_t> Cogs::Core::MipLevelsTask::firstLevel = 0

Definition at line 19 of file MipLevelsTask.h.

◆ lastLevel

ExpressionValue<size_t> Cogs::Core::MipLevelsTask::lastLevel = ~0u

Definition at line 20 of file MipLevelsTask.h.

◆ parameterBufferBinding

ConstantBufferBindingHandle Cogs::Core::MipLevelsTask::parameterBufferBinding = ConstantBufferBindingHandle::NoHandle
protected

Definition at line 25 of file MipLevelsTask.h.

◆ parameterHandle

BufferHandle Cogs::Core::MipLevelsTask::parameterHandle = BufferHandle::NoHandle
protected

Definition at line 24 of file MipLevelsTask.h.

◆ sizes

std::vector<glm::ivec2> Cogs::Core::MipLevelsTask::sizes
protected

Definition at line 23 of file MipLevelsTask.h.


The documentation for this struct was generated from the following files: