Common nn::gfx: Difference between revisions

Correction to GpuAccessFlags
(Created page with "Structures and enums from nn::gfx appearing across nn::gfx file formats and nn::g3d file formats. Notably the nn::gfx formats Bnsh and Bntx, as well as nn::g3d Bfres. === nn::gfx::MemoryPoolFlags === Flags denoting how a memory pool can be accessed. {| class="wikitable" !Name (Unofficial) !Value !Description |- |CpuNoAccess |0x1 (1 << 0) |Memory is unable to be mapped to CPU |- |CpuUncached |0x2 (1 << 1) |Memory is coherent on CPU |- |CpuCached |0x4 (1 << 2)...")
 
(Correction to GpuAccessFlags)
 
(3 intermediate revisions by the same user not shown)
Line 89: Line 89:
|UniformBuffer
|UniformBuffer
|0x10 (1 << 4)
|0x10 (1 << 4)
|Uniform/Storage buffer
|Uniform buffer
|-
|-
|Texture
|Texture
Line 95: Line 95:
|Texture
|Texture
|-
|-
|TransferDestination
|StorageBuffer
|0x40 (1 << 6)
|0x40 (1 << 6)
|Transfer destination
|Storage buffer
|-
|-
|RenderTargetColor
|RenderTargetColor
Line 167: Line 167:
|}
|}


=== nn::gfx::TileMode ===
=== nn::gfx::TileMode (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 911: Line 911:
|}
|}


=== nn::gfx::WrapMode ===
=== nn::gfx::TextureAddressMode ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 938: Line 938:
|}
|}


=== nn::gfx::CompareOp ===
=== nn::gfx::ComparisonFunction ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 977: Line 977:
|}
|}


=== nn::gfx::BorderColor ===
=== nn::gfx::BorderColor (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 996: Line 996:
|}
|}


=== nn::gfx::MipMapFilter ===
=== nn::gfx::MipMapFilter (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 1,015: Line 1,015:
|}
|}


=== nn::gfx::MagFilter ===
=== nn::gfx::MagFilter (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 1,034: Line 1,034:
|}
|}


=== nn::gfx::MinFilter ===
=== nn::gfx::MinFilter (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 1,053: Line 1,053:
|}
|}


=== nn::gfx::ReductionFilter ===
=== nn::gfx::ReductionFilter (Unofficial) ===
{| class="wikitable"
{| class="wikitable"
!Name (Unofficial)
!Name (Unofficial)
Line 1,082: Line 1,082:
|0x1
|0x1
|u8
|u8
|Wrap Mode U (nn::gfx::WrapMode)
|Wrap Mode U (nn::gfx::TextureAddressMode)
|-
|-
|0x1
|0x1
|0x1
|0x1
|u8
|u8
|Wrap Mode V (nn::gfx::WrapMode)
|Wrap Mode V (nn::gfx::TextureAddressMode)
|-
|-
|0x2
|0x2
|0x1
|0x1
|u8
|u8
|Wrap Mode W (nn::gfx::WrapMode)
|Wrap Mode W (nn::gfx::TextureAddressMode)
|-
|-
|0x3
|0x3
|0x1
|0x1
|u8
|u8
|CompareOp (nn::gfx::CompareOp)
|CompareOp (nn::gfx::ComparisonFunction)
|-
|-
|0x4
|0x4
Line 1,212: Line 1,212:
|
|
|-
|-
|Strin
|String
|0x2
|0x2
|
|
Line 1,230: Line 1,230:
|0x0
|0x0
|0x8
|0x8
|cosnt char *
|const char *
|User data name
|User data name
|-
|-
Line 1,253: Line 1,253:
|Reserved
|Reserved
|}
|}
[[Category:File formats]]
46

edits