mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
Compare commits
4 Commits
0c0c936874
...
bf0bea41c5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf0bea41c5 | ||
|
|
619bcca778 | ||
|
|
4782c554fc | ||
|
|
8c518f7e6d |
@ -38,6 +38,13 @@ struct ShaderConstants {
|
||||
|
||||
class CGxDevice {
|
||||
public:
|
||||
// Structs
|
||||
struct TextureTarget {
|
||||
CGxTex* m_texture;
|
||||
uint32_t m_plane;
|
||||
void* m_apiSpecific;
|
||||
};
|
||||
|
||||
// Static variables
|
||||
static uint32_t s_alphaRef[];
|
||||
static C3Vector s_pointScaleIdentity;
|
||||
@ -117,6 +124,9 @@ class CGxDevice {
|
||||
int32_t m_primIndexDirty = 0;
|
||||
TSFixedArray<CGxAppRenderState> m_appRenderStates;
|
||||
TSFixedArray<CGxStateBom> m_hwRenderStates;
|
||||
// TODO
|
||||
TextureTarget m_textureTarget[GxBuffers_Last];
|
||||
// TODO
|
||||
uint32_t m_baseMipLevel = 0; // TODO placeholder
|
||||
|
||||
// Virtual member functions
|
||||
|
||||
@ -55,6 +55,12 @@ enum EGxBlend {
|
||||
GxBlends_Last = 12
|
||||
};
|
||||
|
||||
enum EGxBuffer {
|
||||
GxBuffers_Color = 0,
|
||||
GxBuffers_Depth = 1,
|
||||
GxBuffers_Last,
|
||||
};
|
||||
|
||||
enum EGxColorFormat {
|
||||
GxCF_argb = 0,
|
||||
GxCF_rgba = 1,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user