Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
CCanvas2D::Impl Class Reference
Collaboration diagram for CCanvas2D::Impl:
Collaboration graph
[legend]

Public Member Functions

 Impl (const uint32_t widthInPixels, const uint32_t heightInPixels, const float scale, Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
 
void BindTechIfNeeded ()
 
void UnbindTech ()
 
CMatrix3D GetTransform ()
 Returns model-view-projection matrix with (0,0) in top-left of screen. More...
 

Public Attributes

uint32_t WidthInPixels = 1
 
uint32_t HeightInPixels = 1
 
float Scale = 1.0f
 
CVector2D TransformScale
 
CVector2D Translation
 
Renderer::Backend::IVertexInputLayoutm_VertexInputLayout = nullptr
 
Renderer::Backend::IDeviceCommandContextDeviceCommandContext = nullptr
 
CShaderTechniquePtr Tech
 
SBindingSlots BindingSlots
 

Constructor & Destructor Documentation

◆ Impl()

CCanvas2D::Impl::Impl ( const uint32_t  widthInPixels,
const uint32_t  heightInPixels,
const float  scale,
Renderer::Backend::IDeviceCommandContext deviceCommandContext 
)
inline

Member Function Documentation

◆ BindTechIfNeeded()

void CCanvas2D::Impl::BindTechIfNeeded ( )
inline

◆ GetTransform()

CMatrix3D CCanvas2D::Impl::GetTransform ( )
inline

Returns model-view-projection matrix with (0,0) in top-left of screen.

◆ UnbindTech()

void CCanvas2D::Impl::UnbindTech ( )
inline

Member Data Documentation

◆ BindingSlots

SBindingSlots CCanvas2D::Impl::BindingSlots

◆ DeviceCommandContext

Renderer::Backend::IDeviceCommandContext* CCanvas2D::Impl::DeviceCommandContext = nullptr

◆ HeightInPixels

uint32_t CCanvas2D::Impl::HeightInPixels = 1

◆ m_VertexInputLayout

Renderer::Backend::IVertexInputLayout* CCanvas2D::Impl::m_VertexInputLayout = nullptr

◆ Scale

float CCanvas2D::Impl::Scale = 1.0f

◆ Tech

CShaderTechniquePtr CCanvas2D::Impl::Tech

◆ TransformScale

CVector2D CCanvas2D::Impl::TransformScale

◆ Translation

CVector2D CCanvas2D::Impl::Translation

◆ WidthInPixels

uint32_t CCanvas2D::Impl::WidthInPixels = 1

The documentation for this class was generated from the following file: