mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Fixes the backend logic for setting/creating 3DTextures in D3D11
This commit is contained in:
parent
2b686bf713
commit
45d304ee31
6 changed files with 49 additions and 24 deletions
|
|
@ -60,7 +60,7 @@ public:
|
|||
// Sized bitmap
|
||||
GFXTexHandle( U32 width, U32 height, GFXFormat format, GFXTextureProfile *profile, const String &desc, U32 numMipLevels = 1, S32 antialiasLevel = 0);
|
||||
bool set( U32 width, U32 height, GFXFormat format, GFXTextureProfile *profile, const String &desc, U32 numMipLevels = 1, S32 antialiasLevel = 0);
|
||||
bool set( U32 width, U32 height, U32 depth, void *pixels, GFXFormat format, GFXTextureProfile *profile, const String &desc, U32 numMipLevels = 1 );
|
||||
bool set( U32 width, U32 height, U32 depth, GFXFormat format, GFXTextureProfile* profile, const String& desc, U32 numMipLevels = 1);
|
||||
|
||||
/// Returns the width and height as a point.
|
||||
Point2I getWidthHeight() const { return getPointer() ? Point2I( getPointer()->getWidth(), getPointer()->getHeight() ) : Point2I::Zero; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue