introduces ios support? still needs metal
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
#include "vk_external_functions.cpp"
|
||||
#undef VK_DEVICE_FUNCTION
|
||||
|
||||
|
||||
class CVertexBuffer: public IVertexBuffer
|
||||
class CVkBuffer: public IBuffer
|
||||
{
|
||||
public:
|
||||
void *Map() override;
|
||||
@@ -24,17 +23,14 @@ public:
|
||||
void *m_pAllocated = NULL;
|
||||
};
|
||||
|
||||
class CIndexBuffer: public IIndexBuffer
|
||||
class CVkImage: public IImage
|
||||
{
|
||||
public:
|
||||
void *Map() override;
|
||||
void Unmap() override;
|
||||
vk_buffer_t m_buffer;
|
||||
void *m_pAllocated;
|
||||
vk_image2d_t m_image;
|
||||
};
|
||||
|
||||
|
||||
class CTexture: public ITexture
|
||||
class CVkTexture: public ITexture
|
||||
{
|
||||
public:
|
||||
vk_image2d_t image;
|
||||
@@ -65,8 +61,6 @@ extern uint32_t g_nWindowWidth;
|
||||
extern uint32_t g_nWindowHeight;
|
||||
|
||||
extern VkSampler g_invalidTextureSampler;
|
||||
extern IMaterial *g_pDefaultMaterial;
|
||||
extern IMaterial *g_pCurrentMaterial;
|
||||
|
||||
extern CUtlVector<ITexture*> g_textures;
|
||||
|
||||
@@ -77,7 +71,7 @@ struct CameraProjection {
|
||||
extern vk_buffer_t g_cameraProperties;
|
||||
extern CameraProjection *g_cameraDataMap;
|
||||
|
||||
extern vk_image2d_t g_meshDepth;
|
||||
extern vk_image2d_t g_meshDepthMSAA;
|
||||
extern vk_image2d_t g_meshColor;
|
||||
extern vk_image2d_t g_meshColorMSAA;
|
||||
extern IImage *g_meshDepth;
|
||||
extern IImage *g_meshDepthMSAA;
|
||||
extern IImage *g_meshColor;
|
||||
extern IImage *g_meshColorMSAA;
|
||||
|
||||
Reference in New Issue
Block a user