Jump to content

Texture Format 133?


SpiderPig
 Share

Go to solution Solved by Josh,

Recommended Posts

I printed to the console the texture format of my pixmap and it said it was 133 but I couldn't find it in the struct - I may be blind...  is it a combo of compression and RGBA or something?

enum TextureFormat
	{
		TEXTURE_FORMAT_UNDEFINED = 0,//VK_FORMAT_UNDEFINED,
		TEXTURE_RGBA_UINT = 41,//VK_FORMAT_R8G8B8A8_UINT,
		TEXTURE_RED = 9,//VK_FORMAT_R8_UNORM,
		TEXTURE_RED_UINT = 13,//VK_FORMAT_R8_UINT,
		TEXTURE_RG = 16,//VK_FORMAT_R8G8_UNORM,
		TEXTURE_RGB = 23,//VK_FORMAT_R8G8B8_UNORM,
		TEXTURE_RGBA = 37,// VK_FORMAT_R8G8B8A8_UNORM,
		TEXTURE_BGR = 30,//VK_FORMAT_B8G8R8_UNORM,
		TEXTURE_BGRA = 44,//VK_FORMAT_B8G8R8A8_UNORM,
		TEXTURE_RGB8 = 23,//TEXTURE_RGB,
		TEXTURE_RGBA8 = 37,//TEXTURE_RGBA,
		TEXTURE_BGR8 = 30,//TEXTURE_BGR,
		TEXTURE_BGRA8 = 44,//TEXTURE_BGRA,
		TEXTURE_RED16 = 76, //VK_FORMAT_R16_SFLOAT,
		TEXTURE_R16 = TEXTURE_RED16,//VK_FORMAT_R16_UNORM??????,
		TEXTURE_RGBA16 = 97,// VK_FORMAT_R16G16B16A16_SFLOAT,
		TEXTURE_RGBA32 = 109,//VK_FORMAT_R32G32B32A32_SFLOAT,
		TEXTURE_BC1 = 131,//VK_FORMAT_BC1_RGB_UNORM_BLOCK,
		TEXTURE_DXT1 = TEXTURE_BC1,
		TEXTURE_BC3 = 137,//VK_FORMAT_BC3_UNORM_BLOCK,
		TEXTURE_DXT5 = TEXTURE_BC3,
		TEXTURE_BC5 = 141,//VK_FORMAT_BC5_UNORM_BLOCK,
		TEXTURE_BC6H = 143,//VK_FORMAT_BC6H_UFLOAT_BLOCK
		TEXTURE_BC7 = 145,//VK_FORMAT_BC7_UNORM_BLOCK,
		TEXTURE_BC4 = 139,//VK_FORMAT_BC4_UNORM_BLOCK
		TEXTURE_COLOR = -1001,
		TEXTURE_DEPTH = -1002,
		TEXTURE_HDR = -1003
	};

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...