mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
Compare commits
No commits in common. "619bcca7781251d163bfb90c965223e5032470dc" and "f8f00b599e93938d0d051ab93208b9f5fc7faf79" have entirely different histories.
619bcca778
...
f8f00b599e
@ -38,13 +38,6 @@ struct ShaderConstants {
|
|||||||
|
|
||||||
class CGxDevice {
|
class CGxDevice {
|
||||||
public:
|
public:
|
||||||
// Structs
|
|
||||||
struct TextureTarget {
|
|
||||||
CGxTex* m_texture;
|
|
||||||
uint32_t m_plane;
|
|
||||||
void* m_apiSpecific;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Static variables
|
// Static variables
|
||||||
static uint32_t s_alphaRef[];
|
static uint32_t s_alphaRef[];
|
||||||
static C3Vector s_pointScaleIdentity;
|
static C3Vector s_pointScaleIdentity;
|
||||||
@ -123,9 +116,6 @@ class CGxDevice {
|
|||||||
int32_t m_primIndexDirty = 0;
|
int32_t m_primIndexDirty = 0;
|
||||||
TSFixedArray<CGxAppRenderState> m_appRenderStates;
|
TSFixedArray<CGxAppRenderState> m_appRenderStates;
|
||||||
TSFixedArray<CGxStateBom> m_hwRenderStates;
|
TSFixedArray<CGxStateBom> m_hwRenderStates;
|
||||||
// TODO
|
|
||||||
TextureTarget m_textureTarget[GxBuffers_Last];
|
|
||||||
// TODO
|
|
||||||
uint32_t m_baseMipLevel = 0; // TODO placeholder
|
uint32_t m_baseMipLevel = 0; // TODO placeholder
|
||||||
|
|
||||||
// Virtual member functions
|
// Virtual member functions
|
||||||
|
|||||||
@ -54,12 +54,6 @@ enum EGxBlend {
|
|||||||
GxBlends_Last = 12
|
GxBlends_Last = 12
|
||||||
};
|
};
|
||||||
|
|
||||||
enum EGxBuffer {
|
|
||||||
GxBuffers_Color = 0,
|
|
||||||
GxBuffers_Depth = 1,
|
|
||||||
GxBuffers_Last,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum EGxColorFormat {
|
enum EGxColorFormat {
|
||||||
GxCF_argb = 0,
|
GxCF_argb = 0,
|
||||||
GxCF_rgba = 1,
|
GxCF_rgba = 1,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user