![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <orthographic_camera.hpp>
Public Member Functions | |
OrthographicCamera (ID3D11Device &device) | |
OrthographicCamera (const OrthographicCamera &camera)=delete | |
OrthographicCamera (OrthographicCamera &&camera) noexcept | |
virtual | ~OrthographicCamera () |
OrthographicCamera & | operator= (const OrthographicCamera &camera)=delete |
OrthographicCamera & | operator= (OrthographicCamera &&camera) noexcept |
const F32x2 | GetSize () const noexcept |
void | SetSize (F32x2 size) noexcept |
virtual const XMMATRIX XM_CALLCONV | GetCameraToProjectionMatrix () const noexcept override |
virtual const XMMATRIX XM_CALLCONV | GetProjectionToCameraMatrix () const noexcept override |
![]() | |
virtual | ~Camera () |
Camera & | operator= (const Camera &camera)=delete |
Camera & | operator= (Camera &&camera) noexcept |
const F32x2 | GetClippingPlanes () const noexcept |
void | SetClippingPlanes (F32x2 clipping_planes) noexcept |
CameraLens & | GetLens () noexcept |
const CameraLens & | GetLens () const noexcept |
Viewport & | GetViewport () noexcept |
const Viewport & | GetViewport () const noexcept |
CameraSettings & | GetSettings () noexcept |
const CameraSettings & | GetSettings () const noexcept |
void | UpdateBuffer (ID3D11DeviceContext &device_context, AntiAliasing aa) const |
template<typename PipelineStageT > | |
void | BindBuffer (ID3D11DeviceContext &device_context, U32 slot) const noexcept |
![]() | |
virtual | ~Component () |
Component & | operator= (const Component &component) noexcept |
Component & | operator= (Component &&component) noexcept |
State | GetState () const noexcept |
void | SetState (State state) noexcept |
U64 | GetGuid () const noexcept |
bool | HasOwner () const noexcept |
ProxyPtr< Node > | GetOwner () noexcept |
ProxyPtr< const Node > | GetOwner () const noexcept |
Private Attributes | |
F32x2 | m_size |
Additional Inherited Members | |
![]() | |
Camera (ID3D11Device &device) | |
Camera (const Camera &camera)=delete | |
Camera (Camera &&camera) noexcept | |
![]() | |
Component () noexcept | |
Component (const Component &component) noexcept | |
Component (Component &&component) noexcept | |
A class of orthographic cameras.
|
explicit |
Constructs an orthographic camera.
[in,out] | device | A reference to the device. |
|
delete |
Constructs an orthographic camera from the given orthographic camera.
[in] | camera | A reference to the orthographic camera to copy. |
|
defaultnoexcept |
Constructs an orthographic camera by moving the given orthographic camera.
[in] | camera | A reference to the orthographic camera to move. |
|
virtualdefault |
Destructs this orthographic camera.
|
overridevirtualnoexcept |
Returns the camera-to-projection matrix of this orthographic camera.
Implements mage::rendering::Camera.
|
overridevirtualnoexcept |
Returns the projection-to-camera matrix of this orthographic camera.
Implements mage::rendering::Camera.
|
noexcept |
Returns the size of the projection plane of this orthographic camera expressed in camera space.
|
delete |
Copies the given orthographic camera to this orthographic camera.
[in] | camera | A reference to the orthographic camera to copy. |
|
defaultnoexcept |
Moves the given orthographic camera to this orthographic camera.
[in] | camera | A reference to the orthographic camera to move. |
|
noexcept |
Sets the size of the projection plane of this orthographic camera expressed in camera space to the given size.
[in] | size | The size. |
|
private |
The size of the projection plane of this orthographic camera expressed in camera space.