Load texture from native Bgra data coming from the Bitmap load function. On most platforms
the native format is Rgba (just Windows uses Brga) and we want to avoid any conversion so
the data stays in its native format unless not supported (ES needs Rgba even on Windows).
Namespace: DeltaEngine.Graphics.BaseOpenGL11Assembly: DeltaEngine.Graphics.BaseOpenGL11 (in DeltaEngine.Graphics.BaseOpenGL11.dll) Version: 1.1.1.0 (1.1.1)
public abstract void LoadTextureInNativePlatformFormat(
int width,
int height,
IntPtr data,
bool hasAlpha
)
public abstract void LoadTextureInNativePlatformFormat(
int width,
int height,
IntPtr data,
bool hasAlpha
)
Public MustOverride Sub LoadTextureInNativePlatformFormat (
width As Integer,
height As Integer,
data As IntPtr,
hasAlpha As Boolean
)
Public MustOverride Sub LoadTextureInNativePlatformFormat (
width As Integer,
height As Integer,
data As IntPtr,
hasAlpha As Boolean
)
public:
virtual void LoadTextureInNativePlatformFormat(
int width,
int height,
IntPtr data,
bool hasAlpha
) abstract
public:
virtual void LoadTextureInNativePlatformFormat(
int width,
int height,
IntPtr data,
bool hasAlpha
) abstract
abstract LoadTextureInNativePlatformFormat :
width : int *
height : int *
data : IntPtr *
hasAlpha : bool -> unit
abstract LoadTextureInNativePlatformFormat :
width : int *
height : int *
data : IntPtr *
hasAlpha : bool -> unit