Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Private Attributes | List of all members
sw::MockInputLayoutDescriptor Class Reference

#include <MockInputLayoutDescriptor.h>

Inheritance diagram for sw::MockInputLayoutDescriptor:
InputLayoutDescriptor

Public Member Functions

 MockInputLayoutDescriptor (const std::wstring &layoutName)
 
 ~MockInputLayoutDescriptor ()=default
 
Size GetNumElements ()
 
virtual void AddRow (const char *semanticName, ResourceFormat format, unsigned int inputSlot, unsigned int byteOffset, bool perInstance, unsigned int instanceDataStep)
 
unsigned int CountSemantic (const char *semanticName)
 
- Public Member Functions inherited from InputLayoutDescriptor
 InputLayoutDescriptor (const std::wstring &layoutName)
 
virtual ~InputLayoutDescriptor ()=default
 
std::wstring & GetName ()
 

Private Attributes

std::vector< InputLayoutInfom_inputElement
 

Constructor & Destructor Documentation

sw::MockInputLayoutDescriptor::MockInputLayoutDescriptor ( const std::wstring &  layoutName)
inline
sw::MockInputLayoutDescriptor::~MockInputLayoutDescriptor ( )
default

Member Function Documentation

void sw::MockInputLayoutDescriptor::AddRow ( const char *  semanticName,
ResourceFormat  format,
unsigned int  inputSlot,
unsigned int  byteOffset,
bool  perInstance,
unsigned int  instanceDataStep 
)
virtual

Implements InputLayoutDescriptor.

unsigned int sw::MockInputLayoutDescriptor::CountSemantic ( const char *  semanticName)
Size sw::MockInputLayoutDescriptor::GetNumElements ( )
inline

Member Data Documentation

std::vector< InputLayoutInfo > sw::MockInputLayoutDescriptor::m_inputElement
private

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