mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
[Feat] (MG_State/TextureState): Add TextureUploadTarget enum. Add more TextureTarget enum.
This commit is contained in:
@@ -10,13 +10,35 @@ namespace MobileGL {
|
|||||||
Texture2D,
|
Texture2D,
|
||||||
Texture3D,
|
Texture3D,
|
||||||
TextureCubeMap,
|
TextureCubeMap,
|
||||||
Texture2DArray,
|
TextureRectangle,
|
||||||
Texture2DMultisample,
|
Texture2DMultisample,
|
||||||
|
TextureBuffer,
|
||||||
|
Texture1DArray,
|
||||||
|
Texture2DArray,
|
||||||
TextureCubeMapArray,
|
TextureCubeMapArray,
|
||||||
|
Texture2DMultisampleArray,
|
||||||
TextureTargetCount,
|
TextureTargetCount,
|
||||||
Unknown = -1
|
Unknown = -1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class TextureUploadTarget {
|
||||||
|
Texture2D,
|
||||||
|
ProxyTexture2D,
|
||||||
|
Texture1DArray,
|
||||||
|
ProxyTexture1DArray,
|
||||||
|
TextureRectangle,
|
||||||
|
ProxyTextureRectangle,
|
||||||
|
CubeMapPositiveX,
|
||||||
|
CubeMapNegativeX,
|
||||||
|
CubeMapPositiveY,
|
||||||
|
CubeMapNegativeY,
|
||||||
|
CubeMapPositiveZ,
|
||||||
|
CubeMapNegativeZ,
|
||||||
|
ProxyCubeMap,
|
||||||
|
TextureUploadTargetCount,
|
||||||
|
Unknown = -1
|
||||||
|
};
|
||||||
|
|
||||||
enum class TextureInputFormat {
|
enum class TextureInputFormat {
|
||||||
Red,
|
Red,
|
||||||
RG,
|
RG,
|
||||||
|
|||||||
Reference in New Issue
Block a user