16 #include "D3DResource.h" 17 #include "GUIFontTTF.h" 23 #include <wrl/client.h> 35 bool FirstBegin()
override;
36 void LastEnd()
override;
37 CVertexBuffer CreateVertexBuffer(
const std::vector<SVertex>& vertices)
const override;
38 void DestroyVertexBuffer(
CVertexBuffer& bufferHandle)
const override;
40 void OnDestroyDevice(
bool fatal)
override;
41 void OnCreateDevice()
override;
43 static void CreateStaticIndexBuffer(
void);
44 static void DestroyStaticIndexBuffer(
void);
47 std::unique_ptr<CTexture> ReallocTexture(
unsigned int& newHeight)
override;
48 bool CopyCharToTexture(FT_BitmapGlyph bitGlyph,
52 unsigned int y2)
override;
53 void DeleteHardwareTexture()
override;
56 bool UpdateDynamicVertexBuffer(
const SVertex* pSysMem,
unsigned int count);
60 unsigned m_vertexWidth{0};
61 std::unique_ptr<CD3DTexture> m_speedupTexture;
62 Microsoft::WRL::ComPtr<ID3D11Buffer> m_vertexBuffer;
63 std::list<CD3DBuffer*> m_buffers;
65 static bool m_staticIndexBufferCreated;
66 static Microsoft::WRL::ComPtr<ID3D11Buffer> m_staticIndexBuffer;
Definition: GUIFontTTF.h:65
Definition: GUIFontTTF.h:76
Definition: GUIFontTTFDX.h:29
Definition: D3DResource.h:36
Definition: GUIFontCache.h:220
Definition: D3DResource.h:212