Classes | |
struct | Vertex |
Public Member Functions | |
const Burger::StaticRTTI * | get_StaticRTTI (void) const noexcept override |
Get the description to the class. | |
Shader2DCColor (Display *pDisplay, const uint_t *pVertexMembers) | |
Default constructor for an Shader2DCColor. | |
virtual void | SetPosition (float fX, float fY, float fWidth, float fHeight)=0 |
virtual void | SetPosition (const Vector4D_t *pPosition)=0 |
virtual void | SetColor (float fRed, float fGreen, float fBlue, float fAlpha)=0 |
virtual void | SetColor (const Vector4D_t *pColor)=0 |
Public Member Functions inherited from Burger::Effect | |
Effect () | |
Standard constructor. | |
virtual | ~Effect () |
Standard destructor. | |
virtual void | Release (Display *pDisplay) override |
Release the shaders. | |
D3DPixelShader * | GetPixelShader360 (void) const |
Get the pointer to the Xbox 360 Pixel shader instance. | |
D3DVertexShader * | GetVertexShader360 (void) const |
Get the pointer to the Xbox 360 Vertex shader instance. | |
D3DDevice * | GetDevice360 (void) const |
Get the pointer to the Xbox 360 device instance. | |
uint_t | GetProgramID (void) const |
Get the OpenGL program ID for the compiled effect. | |
IDirect3DPixelShader9 * | GetPixelShaderDX9 (void) const |
Get the pointer to the DirectX 9 Pixel shader instance. | |
IDirect3DVertexShader9 * | GetVertexShaderDX9 (void) const |
Get the pointer to the DirectX 9 Vertex shader instance. | |
IDirect3DDevice9 * | GetDeviceDX9 (void) const |
Get the pointer to the DirectX 9 device instance. | |
Public Member Functions inherited from Burger::DisplayObject | |
DisplayObject * | GetNext (void) const |
Get the next display object in the global linked list. | |
DisplayObject * | GetPrevious (void) const |
Get the previous display object in the global linked list. | |
virtual uint_t | CheckLoad (Display *pDisplay)=0 |
Load data onto the video display card. | |
Public Member Functions inherited from Burger::ReferenceCounter | |
ReferenceCounter () noexcept | |
Sets the reference count to zero. | |
virtual | ~ReferenceCounter () |
Destructor. | |
void | AddRef (void) noexcept |
Increase the reference count by 1. | |
void | Release (void) noexcept |
Decrease the reference count by 1. | |
Public Member Functions inherited from Burger::Base | |
const char * | get_class_name (void) const noexcept |
Get the name of the class. | |
virtual | ~Base () noexcept=default |
Destructor. | |
Static Public Attributes | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Static Public Attributes inherited from Burger::Effect | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Static Public Attributes inherited from Burger::DisplayObject | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Static Public Attributes inherited from Burger::ReferenceCounter | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Static Public Attributes inherited from Burger::Base | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Protected Attributes | ||
int_t | m_iEffect2DPosition | |
(OpenGL only) Index for the position | ||
int_t | m_iEffect2DColor | |
(OpenGL only) Index for the color | ||
Protected Attributes inherited from Burger::Effect | ||
D3DPixelShader * | m_pPixelShader | |
(Xbox360 only) Pixel shader | ||
D3DVertexShader * | m_pVertexShader | |
(Xbox360 only) Vertex shader | ||
D3DDevice * | m_pDevice | |
(Xbox360 only) parent device | ||
union { | ||
struct { | ||
IDirect3DPixelShader9 * m_pPixelShader | ||
DirectX9 Pixel shader. More... | ||
IDirect3DVertexShader9 * m_pVertexShader | ||
DirectX9 Vertex shader. More... | ||
IDirect3DDevice9 * m_pDevice | ||
DirectX9 parent device. More... | ||
} m_DX9 | ||
DirectX 9 specific data. More... | ||
struct { | ||
uint_t m_uProgramID | ||
OpenGL Program ID for the compiled shader. More... | ||
} m_GL | ||
OpenGL specific data. More... | ||
} | m_ShaderData | |
Union of vertex/pixel shader data. | ||
Protected Attributes inherited from Burger::DisplayObject | ||
DisplayObject * | m_pNextDisplayObject | |
Pointer to the next DisplayObject. | ||
DisplayObject * | m_pPrevDisplayObject | |
Pointer to the previous DisplayObject. | ||
Private Member Functions | |
Shader2DCColor (const Shader2DCColor &)=delete | |
Shader2DCColor & | operator= (const Shader2DCColor &)=delete |
Shader2DCColor (Shader2DCColor &&)=delete | |
Shader2DCColor & | operator= (Shader2DCColor &&)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from Burger::DisplayObject | |
static DisplayObject * | GetFirstObject (void) |
Get the first display object in the global linked list. | |
static void | ReleaseAll (Display *pDisplay) |
Release all display objects. | |
Public Attributes inherited from Burger::Effect | |
Protected Member Functions inherited from Burger::Effect | |
void | ReleaseGL (void) |
Release the OpenGL data. | |
void | ReleaseDX9 (void) |
Release the DirectX 9 data. | |
Protected Member Functions inherited from Burger::DisplayObject | |
DisplayObject (void) | |
Add this display object to the global linked list. | |
virtual | ~DisplayObject () |
Remove this display object from the global linked list. | |
Static Protected Attributes inherited from Burger::DisplayObject | |
static DisplayObject * | g_pHead = NULL |
Global pointer to the linked list of display objects. | |
|
privatedelete |
|
privatedelete |
Default constructor for an Shader2DCColor.
pDisplay | Pointer to the current display |
pVertexMembers | Pointer to a description to the vertex entries |
|
overridevirtualnoexcept |
Get the description to the class.
This virtual function will pull the pointer to the StaticRTTI instance that has the name of the class. Due to it being virtual, it will be the name of the most derived class.
Reimplemented from Burger::Effect.
Reimplemented in Burger::Shader2DCColorDX9, and Burger::Shader2DCColorOpenGL.
|
privatedelete |
|
privatedelete |
|
pure virtual |
Implemented in Burger::Shader2DCColorDX9, and Burger::Shader2DCColorOpenGL.
|
pure virtual |
Implemented in Burger::Shader2DCColorDX9, and Burger::Shader2DCColorOpenGL.
|
pure virtual |
Implemented in Burger::Shader2DCColorDX9, and Burger::Shader2DCColorOpenGL.
|
pure virtual |
Implemented in Burger::Shader2DCColorDX9, and Burger::Shader2DCColorOpenGL.
|
static |
The global description of the class.
This record contains the name of this class and a reference to the parent
|
protected |
(OpenGL only) Index for the color
|
protected |
(OpenGL only) Index for the position