The Nebula Device 3: Win360::D3D9Types Class Reference

The Nebula Device 3

Win360::D3D9Types Class Reference

#include <d3d9types.h>


Detailed Description

Provides static helper functions to convert from and to Direct3D data types and enumerations.

(C) 2007 Radon Labs GmbH

Static Public Member Functions

static D3DFORMAT AsD3D9PixelFormat (CoreGraphics::PixelFormat::Code p)
 convert Nebula pixel format to D3D9 pixel format
static CoreGraphics::PixelFormat::Code AsNebulaPixelFormat (D3DFORMAT f)
 convert Direct3D to Nebula pixel format
static D3DDECLTYPE AsD3D9VertexDeclarationType (CoreGraphics::VertexComponent::Format f)
 convert vertex component type to D3D9 declaration type
static D3DDECLUSAGE AsD3D9VertexDeclarationUsage (CoreGraphics::VertexComponent::SemanticName n)
 convert vertex component semantic name as D3D9 declaration usage
static D3DPRIMITIVETYPE AsD3D9PrimitiveType (CoreGraphics::PrimitiveTopology::Code t)
 convert primitive topology to D3D
static D3DMULTISAMPLE_TYPE AsD3D9MultiSampleType (CoreGraphics::AntiAliasQuality::Code c)
 convert antialias quality to D3D multisample type
static D3DXIMAGE_FILEFORMAT AsD3DXImageFileFormat (CoreGraphics::ImageFileFormat::Code c)
 convert image file format to D3DX file format
static D3DPOOL AsD3D9Pool (Base::ResourceBase::Usage usage, Base::ResourceBase::Access access)
 convert Nebula3 resource usage/access flag pair into D3D9 pool
static DWORD AsD3D9Usage (Base::ResourceBase::Usage usage, Base::ResourceBase::Access access)
 convert Nebula3 resource usage/access flag pair into D3D9 usage flags
static D3DFORMAT IndexTypeAsD3D9Format (CoreGraphics::IndexType::Code indexType)
 convert index type to D3DFORMAT