GFXAdapter

Engine/source/gfx/gfxAdapter.h

More...

Public Types

enum
_Anonymous_ {  MaxAdapterNameLen = 512
}
Delegate< GFXDevice *(U32 adapterIndex)>
CreateDeviceInstanceDelegate 

Public Attributes

List of available full-screen modes.

LUID for windows oculus support.

char
mName [MaxAdapterNameLen]
char
mOutputName [MaxAdapterNameLen]

The name of the display output device for the adapter, if any.

Supported shader model. 0.f means none supported.

Public Functions

Private Functions

Detailed Description

Public Types

@84

Enumerator

MaxAdapterNameLen = 512
typedef Delegate< GFXDevice *(U32 adapterIndex)> CreateDeviceInstanceDelegate 

Public Attributes

Vector< GFXVideoMode > mAvailableModes 

List of available full-screen modes.

Windows can be any size, so we do not enumerate them here.

CreateDeviceInstanceDelegate mCreateDeviceInstanceDelegate 
U32 mIndex 
GFXAdapterLUID mLUID 

LUID for windows oculus support.

char mName [MaxAdapterNameLen]
char mOutputName [MaxAdapterNameLen]

The name of the display output device for the adapter, if any.

For example under Windows, this could be: \.\DISPLAY1

F32 mShaderModel 

Supported shader model. 0.f means none supported.

GFXAdapterType mType 

Public Functions

GFXAdapter()

~GFXAdapter()

getName()

getOutputName()

Private Functions

GFXAdapter(const GFXAdapter & )