Logo
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 全メンバ一覧
SharpKmyGfx::Texture クラス

#include <Texture.h>

公開メンバ関数

 Texture ()
 
 Texture (System::String^ path, System::Guid guid, int type, bool srgb, bool genmipmap, TEXTUREUSAGE usage, bool compress, PREMULTIPLIEDTYPE premultiplied)
 
 Texture (kmyGfx::Texture *t)
 
Texture makeNewReference ()
 
 ~Texture ()
 
void managedResourceAttach ()
 
void managedResourceDetach ()
 
bool isEqual (SharpKmyGfx::Texture^ t)
 
void Release ()
 
void Delete ()
 
int getWidth ()
 
int getHeight ()
 
int getStoredWidth ()
 
int getStoredHeight ()
 
void setMagFilter (TEXTUREFILTER f)
 
void setMinFilter (TEXTUREFILTER f)
 
void setWrap (WRAPTYPE f)
 
void setUWrap (WRAPTYPE f)
 
void setVWrap (WRAPTYPE f)
 
void setWWrap (WRAPTYPE f)
 
void setAnisotropy (float v)
 
void setType (int type)
 
void setUsage (TEXTUREUSAGE usage)
 
void setCompress (bool flg)
 
void setPremultiplied (PREMULTIPLIEDTYPE premultiplied)
 
bool isReloadRequired ()
 
void renamePath (System::String^ path)
 
void create (int width, int height, bool srgb, int miplevel)
 
void create (int width, int height, TEXTUREFFORMAT format, int miplevel)
 
void enableWrite ()
 
void apply ()
 
void storeSubPixel2DDelay (int x, int y, int w, int h, array< UINT32 >^ list, TEXTUREFFORMAT format, int sx, int sy, int swidth, int level)
 
void copyTexture2DDelay (int dx, int dy, int dw, int dh, int dlevel, int sx, int sy, int slevel, Texture^ src)
 
void storeSubPixel2D (int x, int y, int w, int h, array< UINT32 >^ list, TEXTUREFFORMAT format, int sx, int sy, int swidth, int level)
 
void storeSubPixel2D (int x, int y, int w, int h, u8 *list, TEXTUREFFORMAT format, int level)
 
void getColor ([System::Runtime::InteropServices::Out] array< UINT32 >^% list, int level)
 
System::String getFileName ()
 
System::String getFilePath ()
 
System::Guid getGuid ()
 
void setGuid (System::Guid id)
 
bool isSrgb ()
 
void setSrgb (bool b)
 
void setGenMipmap (bool flg)
 
void addRef ()
 
void removeRef ()
 
void reloadIfLoaded ()
 
int getRef ()
 
TEXTUREFFORMAT getTextureFormat ()
 

静的公開メンバ関数

static void getColor (System::String^ name, [System::Runtime::InteropServices::Out] array< UINT32 >^% list, int% width, int% height)
 
static Texture load (System::String^ path, bool srgb, TEXTURESHAPE shape, TEXTUREUSAGE usage)
 
static Texture load (System::IO::Stream^ stream, bool srgb, bool genmipmap, TEXTURESHAPE shape, TEXTUREUSAGE usage)
 
static array< System::String^> getLoadableFileList (System::String^ path)
 
static int getMaxTexture2DSize ()
 
static void pushFindTextureBaseDirectory (String^ path)
 
static void popFindTextureBaseDirectory ()
 
static int getTextureStoreJobSerial ()
 
static bool textureStoreJobFinished (int serial)
 
static void textureStoreJobDispatchAll ()
 
static void textureStoreJobWaitQueuedJobFinished ()
 
static void forceReloadFileTextures ()
 

公開変数類

bool managedResourceAttached = false
 
kmyGfx::Texture * obj
 
bool deleteAsCreator = false
 
System::String loadpath
 

構築子と解体子

◆ Texture() [1/3]

SharpKmyGfx::Texture::Texture ( )

◆ Texture() [2/3]

SharpKmyGfx::Texture::Texture ( System::String^  path,
System::Guid  guid,
int  type,
bool  srgb,
bool  genmipmap,
TEXTUREUSAGE  usage,
bool  compress,
PREMULTIPLIEDTYPE  premultiplied 
)

◆ Texture() [3/3]

SharpKmyGfx::Texture::Texture ( kmyGfx::Texture *  t)

◆ ~Texture()

SharpKmyGfx::Texture::~Texture ( )

メソッド詳解

◆ addRef()

void SharpKmyGfx::Texture::addRef ( )

◆ apply()

void SharpKmyGfx::Texture::apply ( )

◆ copyTexture2DDelay()

void SharpKmyGfx::Texture::copyTexture2DDelay ( int  dx,
int  dy,
int  dw,
int  dh,
int  dlevel,
int  sx,
int  sy,
int  slevel,
Texture src 
)

◆ create() [1/2]

void SharpKmyGfx::Texture::create ( int  width,
int  height,
bool  srgb,
int  miplevel 
)

◆ create() [2/2]

void SharpKmyGfx::Texture::create ( int  width,
int  height,
TEXTUREFFORMAT  format,
int  miplevel 
)

◆ Delete()

void SharpKmyGfx::Texture::Delete ( )

◆ enableWrite()

void SharpKmyGfx::Texture::enableWrite ( )

◆ forceReloadFileTextures()

static void SharpKmyGfx::Texture::forceReloadFileTextures ( )
static

◆ getColor() [1/2]

void SharpKmyGfx::Texture::getColor ( [System::Runtime::InteropServices::Out] array< UINT32 >^%  list,
int  level 
)

◆ getColor() [2/2]

static void SharpKmyGfx::Texture::getColor ( System::String^  name,
[System::Runtime::InteropServices::Out] array< UINT32 >^%  list,
int%  width,
int%  height 
)
static

◆ getFileName()

System::String SharpKmyGfx::Texture::getFileName ( )

◆ getFilePath()

System::String SharpKmyGfx::Texture::getFilePath ( )

◆ getGuid()

System::Guid SharpKmyGfx::Texture::getGuid ( )

◆ getHeight()

int SharpKmyGfx::Texture::getHeight ( )

◆ getLoadableFileList()

array< System::String^> SharpKmyGfx::Texture::getLoadableFileList ( System::String^  path)
static

◆ getMaxTexture2DSize()

static int SharpKmyGfx::Texture::getMaxTexture2DSize ( )
static

◆ getRef()

int SharpKmyGfx::Texture::getRef ( )

◆ getStoredHeight()

int SharpKmyGfx::Texture::getStoredHeight ( )

◆ getStoredWidth()

int SharpKmyGfx::Texture::getStoredWidth ( )

◆ getTextureFormat()

TEXTUREFFORMAT SharpKmyGfx::Texture::getTextureFormat ( )

◆ getTextureStoreJobSerial()

int SharpKmyGfx::Texture::getTextureStoreJobSerial ( )
static

◆ getWidth()

int SharpKmyGfx::Texture::getWidth ( )

◆ isEqual()

bool SharpKmyGfx::Texture::isEqual ( SharpKmyGfx::Texture t)

◆ isReloadRequired()

bool SharpKmyGfx::Texture::isReloadRequired ( )

◆ isSrgb()

bool SharpKmyGfx::Texture::isSrgb ( )

◆ load() [1/2]

static Texture SharpKmyGfx::Texture::load ( System::IO::Stream^  stream,
bool  srgb,
bool  genmipmap,
TEXTURESHAPE  shape,
TEXTUREUSAGE  usage 
)
static

◆ load() [2/2]

static Texture SharpKmyGfx::Texture::load ( System::String^  path,
bool  srgb,
TEXTURESHAPE  shape,
TEXTUREUSAGE  usage 
)
static

◆ makeNewReference()

Texture SharpKmyGfx::Texture::makeNewReference ( )

◆ managedResourceAttach()

void SharpKmyGfx::Texture::managedResourceAttach ( )

◆ managedResourceDetach()

void SharpKmyGfx::Texture::managedResourceDetach ( )

◆ popFindTextureBaseDirectory()

void SharpKmyGfx::Texture::popFindTextureBaseDirectory ( )
static

◆ pushFindTextureBaseDirectory()

void SharpKmyGfx::Texture::pushFindTextureBaseDirectory ( String^  path)
static

◆ Release()

void SharpKmyGfx::Texture::Release ( )

◆ reloadIfLoaded()

void SharpKmyGfx::Texture::reloadIfLoaded ( )

◆ removeRef()

void SharpKmyGfx::Texture::removeRef ( )

◆ renamePath()

void SharpKmyGfx::Texture::renamePath ( System::String^  path)

◆ setAnisotropy()

void SharpKmyGfx::Texture::setAnisotropy ( float  v)

◆ setCompress()

void SharpKmyGfx::Texture::setCompress ( bool  flg)

◆ setGenMipmap()

void SharpKmyGfx::Texture::setGenMipmap ( bool  flg)

◆ setGuid()

void SharpKmyGfx::Texture::setGuid ( System::Guid  id)

◆ setMagFilter()

void SharpKmyGfx::Texture::setMagFilter ( TEXTUREFILTER  f)

◆ setMinFilter()

void SharpKmyGfx::Texture::setMinFilter ( TEXTUREFILTER  f)

◆ setPremultiplied()

void SharpKmyGfx::Texture::setPremultiplied ( PREMULTIPLIEDTYPE  premultiplied)

◆ setSrgb()

void SharpKmyGfx::Texture::setSrgb ( bool  b)

◆ setType()

void SharpKmyGfx::Texture::setType ( int  type)

◆ setUsage()

void SharpKmyGfx::Texture::setUsage ( TEXTUREUSAGE  usage)

◆ setUWrap()

void SharpKmyGfx::Texture::setUWrap ( WRAPTYPE  f)

◆ setVWrap()

void SharpKmyGfx::Texture::setVWrap ( WRAPTYPE  f)

◆ setWrap()

void SharpKmyGfx::Texture::setWrap ( WRAPTYPE  f)

◆ setWWrap()

void SharpKmyGfx::Texture::setWWrap ( WRAPTYPE  f)

◆ storeSubPixel2D() [1/2]

void SharpKmyGfx::Texture::storeSubPixel2D ( int  x,
int  y,
int  w,
int  h,
array< UINT32 >^  list,
TEXTUREFFORMAT  format,
int  sx,
int  sy,
int  swidth,
int  level 
)

◆ storeSubPixel2D() [2/2]

void SharpKmyGfx::Texture::storeSubPixel2D ( int  x,
int  y,
int  w,
int  h,
u8 *  list,
TEXTUREFFORMAT  format,
int  level 
)

◆ storeSubPixel2DDelay()

void SharpKmyGfx::Texture::storeSubPixel2DDelay ( int  x,
int  y,
int  w,
int  h,
array< UINT32 >^  list,
TEXTUREFFORMAT  format,
int  sx,
int  sy,
int  swidth,
int  level 
)

◆ textureStoreJobDispatchAll()

void SharpKmyGfx::Texture::textureStoreJobDispatchAll ( )
static

◆ textureStoreJobFinished()

bool SharpKmyGfx::Texture::textureStoreJobFinished ( int  serial)
static

◆ textureStoreJobWaitQueuedJobFinished()

void SharpKmyGfx::Texture::textureStoreJobWaitQueuedJobFinished ( )
static

メンバ詳解

◆ deleteAsCreator

bool SharpKmyGfx::Texture::deleteAsCreator = false

◆ loadpath

System::String SharpKmyGfx::Texture::loadpath

◆ managedResourceAttached

bool SharpKmyGfx::Texture::managedResourceAttached = false

◆ obj

kmyGfx::Texture* SharpKmyGfx::Texture::obj