#include <Sprite.h>
◆ Sprite()
◆ ~Sprite()
memory leak? not really sure what to do here... I can't release the SRV from here but don't need the reference anymore
Definition at line 85 of file Sprite.h.
◆ Draw()
◆ Initialize()
void Sprite::Initialize |
( |
Logger * |
prmLogger, |
|
|
Bus * |
prmBus, |
|
|
DEVICE_OBJECT * |
prmpDevice, |
|
|
int |
prmScreenHeight, |
|
|
int |
prmElementX, |
|
|
int |
prmElementY, |
|
|
bool |
prmFlip |
|
) |
| |
|
inline |
we are offset by screen location using the projection matrix this works for sprites but not fonts apparently for some reason
Definition at line 26 of file Sprite.h.
◆ Update()
◆ bus
Bus* Sprite::bus = nullptr |
|
private |
◆ color
D3DXCOLOR Sprite::color = 0xFFFFFFFF |
◆ desc
D3D10_TEXTURE2D_DESC Sprite::desc |
◆ dxSprite
D3DX10_SPRITE Sprite::dxSprite |
|
private |
◆ elementName
std::string Sprite::elementName |
◆ elementX
◆ elementY
◆ flip
bool Sprite::flip = false |
|
private |
◆ height
◆ logger
Logger* Sprite::logger = nullptr |
|
private |
◆ normallyHidden
bool Sprite::normallyHidden = false |
◆ pathAndFilename
std::string Sprite::pathAndFilename |
◆ pSprite
ID3DX10Sprite* Sprite::pSprite = nullptr |
|
private |
◆ rotate
float Sprite::rotate = 0.0f |
◆ screenHeight
int Sprite::screenHeight = 0 |
|
private |
◆ texCoord
D3DXVECTOR2 Sprite::texCoord = D3DXVECTOR2(0, 0) |
◆ texSize
D3DXVECTOR2 Sprite::texSize = D3DXVECTOR2(1, 1) |
◆ width
The documentation for this class was generated from the following file: