mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +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,
|
||||
Texture3D,
|
||||
TextureCubeMap,
|
||||
Texture2DArray,
|
||||
TextureRectangle,
|
||||
Texture2DMultisample,
|
||||
TextureBuffer,
|
||||
Texture1DArray,
|
||||
Texture2DArray,
|
||||
TextureCubeMapArray,
|
||||
Texture2DMultisampleArray,
|
||||
TextureTargetCount,
|
||||
Unknown = -1
|
||||
};
|
||||
|
||||
enum class TextureUploadTarget {
|
||||
Texture2D,
|
||||
ProxyTexture2D,
|
||||
Texture1DArray,
|
||||
ProxyTexture1DArray,
|
||||
TextureRectangle,
|
||||
ProxyTextureRectangle,
|
||||
CubeMapPositiveX,
|
||||
CubeMapNegativeX,
|
||||
CubeMapPositiveY,
|
||||
CubeMapNegativeY,
|
||||
CubeMapPositiveZ,
|
||||
CubeMapNegativeZ,
|
||||
ProxyCubeMap,
|
||||
TextureUploadTargetCount,
|
||||
Unknown = -1
|
||||
};
|
||||
|
||||
enum class TextureInputFormat {
|
||||
Red,
|
||||
RG,
|
||||
|
||||
Reference in New Issue
Block a user