|
@@ -110,12 +110,10 @@ namespace CamelotEngine {
|
|
|
@param fsaa The level of multisampling to use if this is a render target. Ignored
|
|
@param fsaa The level of multisampling to use if this is a render target. Ignored
|
|
|
if usage does not include TU_RENDERTARGET or if the device does
|
|
if usage does not include TU_RENDERTARGET or if the device does
|
|
|
not support it.
|
|
not support it.
|
|
|
- @param internalCall (optional) Set to true if calling this method from within the RenderSystem.
|
|
|
|
|
- Most users don't have to be concerned about this.
|
|
|
|
|
*/
|
|
*/
|
|
|
TexturePtr createTexture(TextureType texType, UINT32 width, UINT32 height, UINT32 depth,
|
|
TexturePtr createTexture(TextureType texType, UINT32 width, UINT32 height, UINT32 depth,
|
|
|
int num_mips, PixelFormat format, int usage = TU_DEFAULT, bool hwGammaCorrection = false,
|
|
int num_mips, PixelFormat format, int usage = TU_DEFAULT, bool hwGammaCorrection = false,
|
|
|
- UINT32 fsaa = 0, const String& fsaaHint = StringUtil::BLANK, bool internalCall = false);
|
|
|
|
|
|
|
+ UINT32 fsaa = 0, const String& fsaaHint = StringUtil::BLANK);
|
|
|
|
|
|
|
|
/** Create a manual texture with a depth of 1 (not loaded from a file).
|
|
/** Create a manual texture with a depth of 1 (not loaded from a file).
|
|
|
@param
|
|
@param
|
|
@@ -158,15 +156,13 @@ namespace CamelotEngine {
|
|
|
@param fsaa The level of multisampling to use if this is a render target. Ignored
|
|
@param fsaa The level of multisampling to use if this is a render target. Ignored
|
|
|
if usage does not include TU_RENDERTARGET or if the device does
|
|
if usage does not include TU_RENDERTARGET or if the device does
|
|
|
not support it.
|
|
not support it.
|
|
|
- @param internalCall (optional) Set to true if calling this method from within the RenderSystem.
|
|
|
|
|
- Most users don't have to be concerned about this.
|
|
|
|
|
*/
|
|
*/
|
|
|
TexturePtr createTexture(TextureType texType, UINT32 width, UINT32 height, int num_mips,
|
|
TexturePtr createTexture(TextureType texType, UINT32 width, UINT32 height, int num_mips,
|
|
|
PixelFormat format, int usage = TU_DEFAULT, bool hwGammaCorrection = false, UINT32 fsaa = 0,
|
|
PixelFormat format, int usage = TU_DEFAULT, bool hwGammaCorrection = false, UINT32 fsaa = 0,
|
|
|
- const String& fsaaHint = StringUtil::BLANK, bool internalCall = false)
|
|
|
|
|
|
|
+ const String& fsaaHint = StringUtil::BLANK)
|
|
|
{
|
|
{
|
|
|
return createTexture(texType, width, height, 1,
|
|
return createTexture(texType, width, height, 1,
|
|
|
- num_mips, format, usage, hwGammaCorrection, fsaa, fsaaHint, internalCall);
|
|
|
|
|
|
|
+ num_mips, format, usage, hwGammaCorrection, fsaa, fsaaHint);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|