|
MOUNTAIN_API | RenderTarget ()=default |
| Create an uninitialized RenderTarget.
|
|
MOUNTAIN_API | RenderTarget (Vector2i size, Graphics::MagnificationFilter filter) |
| Create a RenderTarget and initialize it with the given values. More...
|
|
MOUNTAIN_API void | Initialize (Vector2i size, Graphics::MagnificationFilter filter) |
| Initialize the RenderTarget with the given values.
|
|
MOUNTAIN_API void | Reset () |
| Reset the RenderTarget to an uninitialized state.
|
|
MOUNTAIN_API void | Reset (Vector2i newSize, Graphics::MagnificationFilter newFilter) |
| Reset the RenderTarget and initialize it again with the given values.
|
|
MOUNTAIN_API LightSource & | NewLightSource () |
|
MOUNTAIN_API void | DeleteLightSource (const LightSource &lightSource) |
|
MOUNTAIN_API void | ClearLightSources () |
|
MOUNTAIN_API const List< LightSource > & | GetLightSources () const |
|
MOUNTAIN_API void | SetDebugName (std::string_view name) const |
| Adds a friendly debug name for this RenderTarget. This is used when debugging graphics in external applications such as Nsight or RenderDoc. This function does nothing if the application isn't compiled in Debug. More...
|
|
MOUNTAIN_API uint32_t | GetTextureId () const |
|
MOUNTAIN_API Graphics::GpuTexture | GetGpuTexture () const |
|
MOUNTAIN_API bool_t | GetInitialized () const |
|
MOUNTAIN_API Vector2i | GetSize () const |
|
MOUNTAIN_API void | SetSize (Vector2i newSize) |
|
MOUNTAIN_API Graphics::MagnificationFilter | GetFilter () const |
|
MOUNTAIN_API void | SetFilter (Graphics::MagnificationFilter newFilter) |
|
MOUNTAIN_API const Matrix & | GetCameraMatrix () const |
|
MOUNTAIN_API void | SetCameraMatrix (const Matrix &newCameraMatrix) |
|
MOUNTAIN_API const Vector2 & | GetCameraScale () const |
|
Definition at line 16 of file render_target.hpp.
◆ RenderTarget()
MOUNTAIN_API Mountain::RenderTarget::RenderTarget |
( |
Vector2i |
size, |
|
|
Graphics::MagnificationFilter |
filter |
|
) |
| |
Create a RenderTarget and initialize it with the given values.
- Parameters
-
◆ SetDebugName()
MOUNTAIN_API void Mountain::RenderTarget::SetDebugName |
( |
std::string_view |
name | ) |
const |
Adds a friendly debug name for this RenderTarget. This is used when debugging graphics in external applications such as Nsight or RenderDoc. This function does nothing if the application isn't compiled in Debug.
- Parameters
-
The documentation for this class was generated from the following file: