Logo
静的公開メンバ関数 | 静的公開変数類 | プロパティ | 全メンバ一覧
Yukar.Engine.Graphics クラス

モデルやテクスチャの読み込み・描画を管理するクラス [詳解]

静的公開メンバ関数

static void setMaximumResolution ()
static GraphicsCore Initialize (string fontName="", bool inIsInitializeForce=false, bool useGdi=false)
static void AddResourceDir (string prefix)
static void SetCommonResourceDir (string prefix)
static void AddTextureDir (string path)
static void searchTexturePath (string prefix)
static void ClearResourceServer ()
static void replaceSpriteBatch (SharpKmyGfx.SpriteBatch sp)
static void revertSpriteBatch ()
static SharpKmyGfx.SpriteBatch getSpriteBatch ()
static void flushSpriteBatch (SharpKmyGfx.Render scene)
static void errorCheck (string module, System.Windows.Forms.IWin32Window owner)
static void setScreenSize (int screenWidth, int screenHeight)
static void Destroy ()
static void BeginDraw ()
static void EndDraw ()
static void SetViewport (int x, int y, int width, int height)
static void LoadImage (Common.Resource.Texture tex)
static Common.Resource.Texture LoadImageDiv (string path, int hdiv, int vdiv)
static Common.Resource.Texture LoadImageDivSize (string path, int hsz, int vsz)
static Common.Resource.Texture LoadImage (MemoryStream ms)
static Common.Resource.Texture LoadImageWin (string path, int left, int right, int top, int bottom)
static Common.Resource.Texture LoadImage (string path)
static Stream getFileStream (string fileName)
static SharpKmyGfx.ModelInstance LoadModelByPath (string path)
static void UnloadModelLoadedByPath (SharpKmyGfx.ModelInstance m)
static SharpKmyGfx.ParticleInstance LoadParticle (string path, uint displayID)
static void UnloadParticle (SharpKmyGfx.ParticleInstance inst)
static Color[] getTextureColorBuffer (int idx)
static void setTextureColorBuffer (int idx, Color[] buffer)
static void LoadImageDiv (Common.Resource.Texture rt, int divX, int divY)
static Common.Resource.Texture LoadImage (Stream stream, int gridX=0, int gridY=0, bool genmipmap=true)
static void UnloadImage (Common.Resource.Texture tex)
static void DrawImage (Common.Resource.Texture t, int x, int y, int w, int h, int zOrder=1, SharpKmyGfx.Shader shd=null)
static void DrawImage (SharpKmyGfx.Texture t, int x, int y, int w, int h, int zOrder=1)
static void DrawImage (SharpKmyGfx.Texture t, int x, int y, int zOrder=1)
static void DrawImage (Common.Resource.Texture tex, int x, int y, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, int x, int y, Rectangle sourceRectangle, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, int x, int y, Color color, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, int x, int y, Rectangle sourceRectangle, Color color, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float angle, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, Rectangle clipRectangle, Color color, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, int angle, Color color, int zOrder=1)
static void DrawImage (Common.Resource.Texture imageId, Rectangle destinationRectangle, Rectangle sourceRectangle, Rectangle clipRectangle, int angle, Color color, int zOrder=1)
static void DrawChipImage (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, int zOrder=1)
static void DrawChipImageSpecifiedSize (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, int drawChipW, int drawChipH, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawChipImageSpecifiedSize (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, int drawChipW, int drawChipH, byte r, byte g, byte b, byte a, Rectangle clipRectangle, int zOrder=1)
static void DrawChipImageSpecifiedSize (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, int drawChipW, int drawChipH, byte r, byte g, byte b, byte a, float scale, int zOrder=1)
static void DrawChipImageSpecifiedSize (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, int drawChipW, int drawChipH, int zOrder=1)
static void DrawChipImage (Common.Resource.Texture imageId, int x, int y, int srcChipX, int srcChipY, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawChipImage (Common.Resource.Texture imageId, int x, int y, int destSizeX, int destSizeY, int srcChipX, int srcChipY, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawChipImageFor2DEffect (Common.Resource.Texture imageId, int x, int y, int destSizeX, int destSizeY, int srcChipX, int srcChipY, byte r, byte g, byte b, byte a, float angle, int zOrder=1)
static void DrawChipImage (Common.Resource.Texture imageId, int x, int y, int destSizeX, int destSizeY, int srcChipX, int srcChipY, byte r, byte g, byte b, byte a, float angle, int zOrder, int srcChipSizeW, int srcChipSizeH)
static void DrawStringSoloColor (int fontId, string text, Vector2 position, Color color, int zOrder=0)
static void DrawStringSoloColor (int fontId, string text, Vector2 position, Color color, float scale, int zOrder=0)
static void DrawStringSoloColor (int fontId, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder=0)
static void DrawStringSoloColor (int fontId, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder=0, bool bold=false, bool italic=false)
static void DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, int zOrder=0)
static void DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, float scale, int zOrder=0)
static void DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, float scale, int zOrder, bool bold, bool italic)
static void DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder=0)
static void DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder, bool bold, bool italic)
static void DrawString (int fontId, string text, Vector2 position, Color color, int zOrder=0)
static void DrawString (int fontId, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder=0)
static void DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Color color, int zOrder=0)
static void DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Color color, Rectangle clipRect, float scale, int zOrder=0)
static void setMatrix (Matrix projection, Matrix view, int zOrder=0)
static void DrawLineRect (int x, int y, int w, int h, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawLineRect (int x, int y, int offsetX, int offsetY, int w, int h, float rot, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawTexturedRect (Vector3 center, Vector2 halfsize, int axis, Color color)
static Vector2 MeasureString (int fontId, string text)
static Vector2 MeasureString (SharpKmyGfx.Font font, string text)
static int GetImageWidth (Common.Resource.Texture rt)
static int GetImageHeight (Common.Resource.Texture rt)
static void DrawRect (int x, int y, int w, int h, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawFillRect (int x, int y, int w, int h, byte r, byte g, byte b, byte a, int zOrder=1)
static void DrawFillRect (int x, int y, int w, int h, float rot, byte r, byte g, byte b, byte a, int zOrder=1)
static int GetDivWidth (Common.Resource.Texture id)
static int GetDivHeight (Common.Resource.Texture id)
static void SetGraphics (GraphicsCore core)
static bool IsInitialized ()
static void refreshFont ()
static Common.Resource.Texture GetIconImgId (Yukar.Common.Resource.Texture inIcon)
static Common.Resource.Texture GetIconImgId (Guid inId)

静的公開変数類

const int DEFAULT_SCREEN_WIDTH = 960
const int DEFAULT_SCREEN_HEIGHT = 544
static GraphicsCore sInstance
static SharpKmyBase.StdResourceServer commonSvr
static bool sDisableGfxFileErrorMsgBox = false
static List< string > sAddedTexturePath = new List<string>()
static SharpKmyGfx.Material lineBoxMaterial

プロパティ

static int ScreenWidth [get]
static int ScreenHeight [get]
static int ViewportWidth [get]
static int ViewportHeight [get]

詳解

モデルやテクスチャの読み込み・描画を管理するクラス


このクラス詳解は次のファイルから抽出されました: