Texture/Xbox 360: Difference between revisions
Content added Content deleted
m (Remove inaccurate information.) |
(rename GPUMULTISAMPLE_TYPE to D3DMULTISAMPLE_TYPE, add descriptions for D3DMULTISAMPLE_TYPE and GPUENDIAN) |
||
Line 46: | Line 46: | ||
| 10 || 1 || || Padding || |
| 10 || 1 || || Padding || |
||
|- |
|- |
||
| 11 || 2 || MultiSample || || D3D construct: not used by hardware<br/>See [[# |
| 11 || 2 || MultiSample || || D3D construct: not used by hardware<br/>See [[Texture/Xbox 360#D3DMULTISAMPLE TYPE|D3DMULTISAMPLE_TYPE]] |
||
|- |
|- |
||
| 13 || 3 || ClampZ || || See [[#GPUCLAMP|GPUCLAMP]] |
| 13 || 3 || ClampZ || || See [[#GPUCLAMP|GPUCLAMP]] |
||
Line 298: | Line 298: | ||
|} |
|} |
||
=== |
=== D3DMULTISAMPLE_TYPE === |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Name !! Value !! Comments |
! Name !! Value !! Comments |
||
|- |
|- |
||
| D3DMULTISAMPLE_NONE || 0 || |
| D3DMULTISAMPLE_NONE || 0 || No level of full-scene multisampling is available. |
||
|- |
|- |
||
| D3DMULTISAMPLE_2_SAMPLES || 1 || |
| D3DMULTISAMPLE_2_SAMPLES || 1 || Level of full-scene multisampling available. |
||
|- |
|- |
||
| D3DMULTISAMPLE_4_SAMPLES || 2 || |
| D3DMULTISAMPLE_4_SAMPLES || 2 || Level of full-scene multisampling available. |
||
|- |
|- |
||
| D3DMULTISAMPLE_FORCE_DWORD || 0x7FFFFFFF || |
| D3DMULTISAMPLE_FORCE_DWORD || 0x7FFFFFFF || Forces this enumeration to compile to 32 bits in size. This value is not used on Xbox 360. |
||
|} |
|} |
||
Line 448: | Line 448: | ||
! Name !! Value !! Comments |
! Name !! Value !! Comments |
||
|- |
|- |
||
| GPUENDIAN_NONE || 0 || |
| GPUENDIAN_NONE || 0 || No swapping. |
||
|- |
|- |
||
| GPUENDIAN_8IN16 || 1 || |
| GPUENDIAN_8IN16 || 1 || Every 8 bits in a 16-bit word are swapped. For example, 0xAABBCCDD would be changed to 0xBBAADDCC. |
||
|- |
|- |
||
| GPUENDIAN_8IN32 || 2 || |
| GPUENDIAN_8IN32 || 2 || Every 8 bits in a 32-bit word are swapped. For example, 0xAABBCCDD would be changed to 0xDDCCBBAA. |
||
|- |
|- |
||
| GPUENDIAN_16IN32 || 3 || |
| GPUENDIAN_16IN32 || 3 || Every 16 bits in a 32-bit word are swapped. For example, 0xAABBCCDD would be changed to 0xCCDDAABB. |
||
|} |
|} |
||