|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <GUITextureD3D.h>
Public Member Functions | |
| CGUITextureD3D (float posX, float posY, float width, float height, const CTextureInfo &texture) | |
| ~CGUITextureD3D () override=default | |
| CGUITextureD3D * | Clone () const override |
Public Member Functions inherited from CGUITexture | |
| virtual | ~CGUITexture ()=default |
| bool | Process (unsigned int currentTime) |
| void | Render (int32_t depthOffset=0, int32_t overrideDepth=-1) |
| void | DynamicResourceAlloc (bool bOnOff) |
| bool | AllocResources () |
| void | FreeResources (bool immediately=false) |
| void | SetInvalid () |
| void | OnWindowResize () |
| bool | SetVisible (bool visible) |
| bool | SetAlpha (unsigned char alpha) |
| bool | SetDiffuseColor (KODI::UTILS::COLOR::Color color, const CGUIListItem *item=nullptr) |
| bool | SetPosition (float x, float y) |
| bool | SetWidth (float width) |
| bool | SetHeight (float height) |
| bool | SetFileName (const std::string &filename) |
| void | SetUseCache (const bool useCache=true) |
| bool | SetAspectRatio (const CAspectRatio &aspect) |
| void | SetScalingMethod (TEXTURE_SCALING scalingMethod) |
| void | SetDiffuseScalingMethod (TEXTURE_SCALING scalingMethod) |
| const std::string & | GetFileName () const |
| float | GetTextureWidth () const |
| float | GetTextureHeight () const |
| float | GetWidth () const |
| float | GetHeight () const |
| float | GetXPosition () const |
| float | GetYPosition () const |
| int | GetOrientation () const |
| const CRect & | GetRenderRect () const |
| bool | IsLazyLoaded () const |
| KODI::GUILIB::GUIINFO::CGUIInfoColor | GetDiffuseColor () const |
| Get the diffuse color (info color) associated to this texture. | |
| bool | HitTest (const CPoint &point) const |
| bool | IsAllocated () const |
| bool | FailedToAlloc () const |
| bool | ReadyToRender () const |
Static Public Member Functions | |
| static void | Register () |
| static CGUITexture * | CreateTexture (float posX, float posY, float width, float height, const CTextureInfo &texture) |
| static void | DrawQuad (const CRect &coords, KODI::UTILS::COLOR::Color color, CTexture *texture=nullptr, const CRect *texCoords=nullptr, const float depth=1.0, const bool blending=true) |
Static Public Member Functions inherited from CGUITexture | |
| static void | Register (const CreateGUITextureFunc &createFunction, const DrawQuadFunc &drawQuadFunction) |
| static CGUITexture * | CreateTexture (float posX, float posY, float width, float height, const CTextureInfo &texture) |
| static void | DrawQuad (const CRect &coords, KODI::UTILS::COLOR::Color color, CTexture *texture=nullptr, const CRect *texCoords=nullptr, const float depth=1.0, const bool blending=true) |
Protected Member Functions | |
| void | Begin (KODI::UTILS::COLOR::Color color) |
| called after our textures have been freed | |
| void | Draw (float *x, float *y, float *z, const CRect &texture, const CRect &diffuse, int orientation) |
| void | End () |
Protected Member Functions inherited from CGUITexture | |
| CGUITexture (float posX, float posY, float width, float height, const CTextureInfo &texture) | |
| CGUITexture (const CGUITexture &left) | |
| bool | CalculateSize () |
| bool | AllocateOnDemand () |
| bool | UpdateAnimFrame (unsigned int currentTime) |
| void | Render (float left, float top, float right, float bottom, float u1, float v1, float u2, float v2, float u3, float v3) |
| void | ResetAnimState () |
| virtual void | Allocate () |
| virtual void | Free () |
| called after our textures have been allocated | |
| CGUITextureD3D::CGUITextureD3D | ( | float | posX, |
| float | posY, | ||
| float | width, | ||
| float | height, | ||
| const CTextureInfo & | texture ) |
|
overridedefault |
|
protectedvirtual |
called after our textures have been freed
Implements CGUITexture.
|
overridevirtual |
Implements CGUITexture.
|
static |
|
protectedvirtual |
Implements CGUITexture.
|
static |
|
protectedvirtual |
Implements CGUITexture.
|
static |