LiteFX::Rendering::RenderTarget::RenderTarget¶
Initializes the render target.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] explicit RenderTarget(
UInt64 uid,
UInt32 location,
RenderTargetType type,
Format format,
RenderTargetFlags flags = RenderTargetFlags::None,
Vector4f const& clearValues = { 0.f , 0.f, 0.f, 0.f },
BlendState const& blendState = {});
Parameters¶
| Name | Description |
|---|---|
| uid | A unique identifier for the render target. |
| location | The location of the render target output attachment. |
| type | The type of the render target. |
| format | The format of the render target. |
| flags | The flags that control the behavior of the render target. |
| clearValues | The values with which the render target gets cleared. |
| blendState | The render target blend state. |