「GraphicsContext クラス (Sce.Pss.Core.Graphics)」の版間の差分
ナビゲーションに移動
検索に移動
imported>Administrator (→メソッド) |
|||
(他の1人の利用者による、間の1版が非表示) | |||
49行目: | 49行目: | ||
| | | | ||
| GraphicsCaps | | GraphicsCaps | ||
− | | [[GraphicsContext.Caps プロパティ (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Caps プロパティ (Sce.Pss.Core.Graphics)|Caps]] |
| get | | get | ||
| 各パラメータの許容範囲やサポートする拡張機能などを取得する | | 各パラメータの許容範囲やサポートする拡張機能などを取得する | ||
56行目: | 56行目: | ||
| | | | ||
| FrameBuffer | | FrameBuffer | ||
− | | [[GraphicsContext.Screen プロパティ (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Screen プロパティ (Sce.Pss.Core.Graphics)|Screen]] |
| get | | get | ||
| デフォルトのスクリーンを表すフレームバッファを取得する | | デフォルトのスクリーンを表すフレームバッファを取得する | ||
63行目: | 63行目: | ||
| static | | static | ||
| ImageSize[] | | ImageSize[] | ||
− | | [[GraphicsContext.ScreenSizes プロパティ (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.ScreenSizes プロパティ (Sce.Pss.Core.Graphics)|ScreenSizes]] |
| get | | get | ||
| グラフィクスコンテキストを作成する時に指定できるスクリーンサイズの配列を取得する | | グラフィクスコンテキストを作成する時に指定できるスクリーンサイズの配列を取得する | ||
80行目: | 80行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Dispose () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Dispose () メソッド (Sce.Pss.Core.Graphics)|Dispose ()]] |
| グラフィクスコンテキストの[[アンマネージド]]な[[リソース]]([[ガーベジコレクター]]対象外の[[リソース]])を解放する。 | | グラフィクスコンテキストの[[アンマネージド]]な[[リソース]]([[ガーベジコレクター]]対象外の[[リソース]])を解放する。 | ||
|- | |- | ||
86行目: | 86行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Clear () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Clear () メソッド (Sce.Pss.Core.Graphics)|Clear ()]] |
| すべての[[フレームバッファー]]をクリアする。 | | すべての[[フレームバッファー]]をクリアする。 | ||
|- | |- | ||
92行目: | 92行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Clear (ClearMask) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Clear (ClearMask) メソッド (Sce.Pss.Core.Graphics)|Clear (ClearMask)]] |
| 指定した[[フレームバッファー]]をクリアする。 | | 指定した[[フレームバッファー]]をクリアする。 | ||
|- | |- | ||
98行目: | 98行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Disable (EnableMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Disable (EnableMode) メソッド (Sce.Pss.Core.Graphics)|Disable (EnableMode)]] |
| 指定したグラフィクス機能を無効にする。[[アルファブレンド]]などを切りたい場合などに使う。 | | 指定したグラフィクス機能を無効にする。[[アルファブレンド]]などを切りたい場合などに使う。 | ||
|- | |- | ||
104行目: | 104行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.DrawArrays (Primitive[]) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.DrawArrays (Primitive[]) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (Primitive[])]] |
| プリミティブを描画する (プリミティブ配列用) | | プリミティブを描画する (プリミティブ配列用) | ||
|- | |- | ||
110行目: | 110行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.DrawArrays (Primitive[], int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.DrawArrays (Primitive[], int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (Primitive[], int, int)]] |
| プリミティブを描画する (プリミティブ配列用、範囲あり) | | プリミティブを描画する (プリミティブ配列用、範囲あり) | ||
|- | |- | ||
116行目: | 116行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.DrawArrays (DrawMode, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.DrawArrays (DrawMode, int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (DrawMode, int, int)]] |
| プリミティブを描画する | | プリミティブを描画する | ||
|- | |- | ||
122行目: | 122行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.DrawArrays (DrawMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.DrawArrays (DrawMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (DrawMode, int, int, int)]] |
| プリミティブを描画する (複数プリミティブ用) | | プリミティブを描画する (複数プリミティブ用) | ||
|- | |- | ||
128行目: | 128行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Enable (EnableMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Enable (EnableMode) メソッド (Sce.Pss.Core.Graphics)|Enable (EnableMode)]] |
| 指定したグラフィクス機能を有効にする | | 指定したグラフィクス機能を有効にする | ||
|- | |- | ||
134行目: | 134行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.Enable (EnableMode, bool) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.Enable (EnableMode, bool) メソッド (Sce.Pss.Core.Graphics)|Enable (EnableMode, bool)]] |
| 指定したグラフィクス機能を有効または無効にする | | 指定したグラフィクス機能を有効または無効にする | ||
|- | |- | ||
140行目: | 140行目: | ||
| | | | ||
| BlendFunc | | BlendFunc | ||
− | | [[GraphicsContext.GetBlendFunc () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetBlendFunc () メソッド (Sce.Pss.Core.Graphics)|GetBlendFunc ()]] |
| アルファブレンド関数を取得する | | アルファブレンド関数を取得する | ||
|- | |- | ||
146行目: | 146行目: | ||
| | | | ||
| BlendFunc | | BlendFunc | ||
− | | [[GraphicsContext.GetBlendFuncAlpha () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetBlendFuncAlpha () メソッド (Sce.Pss.Core.Graphics)|GetBlendFuncAlpha ()]] |
| アルファブレンド関数を取得する (アルファチャンネル用) | | アルファブレンド関数を取得する (アルファチャンネル用) | ||
|- | |- | ||
152行目: | 152行目: | ||
| | | | ||
| BlendFunc | | BlendFunc | ||
− | | [[GraphicsContext.GetBlendFuncRgb () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetBlendFuncRgb () メソッド (Sce.Pss.Core.Graphics)|GetBlendFuncRgb ()]] |
| アルファブレンド関数を取得する (RGBチャンネル用) | | アルファブレンド関数を取得する (RGBチャンネル用) | ||
|- | |- | ||
158行目: | 158行目: | ||
| | | | ||
| Vector4 | | Vector4 | ||
− | | [[GraphicsContext.GetClearColor () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetClearColor () メソッド (Sce.Pss.Core.Graphics)|GetClearColor ()]] |
| フレームバッファーのクリア時に塗りつぶされる色を取得する | | フレームバッファーのクリア時に塗りつぶされる色を取得する | ||
|- | |- | ||
164行目: | 164行目: | ||
| | | | ||
| float | | float | ||
− | | [[GraphicsContext.GetClearDepth () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetClearDepth () メソッド (Sce.Pss.Core.Graphics)|GetClearDepth ()]] |
| フレームバッファーのクリア時に設定されるデプス値を取得する | | フレームバッファーのクリア時に設定されるデプス値を取得する | ||
|- | |- | ||
170行目: | 170行目: | ||
| | | | ||
| int | | int | ||
− | | [[GraphicsContext.GetClearStencil () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetClearStencil () メソッド (Sce.Pss.Core.Graphics)|GetClearStencil ()]] |
| フレームバッファーのクリア時に設定されるステンシル値を取得する | | フレームバッファーのクリア時に設定されるステンシル値を取得する | ||
|- | |- | ||
176行目: | 176行目: | ||
| | | | ||
| ColorMask | | ColorMask | ||
− | | [[GraphicsContext.GetColorMask () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetColorMask () メソッド (Sce.Pss.Core.Graphics)|GetColorMask ()]] |
| カラーの書き込みマスクを取得する | | カラーの書き込みマスクを取得する | ||
|- | |- | ||
182行目: | 182行目: | ||
| | | | ||
| CullFace | | CullFace | ||
− | | [[GraphicsContext.GetCullFace () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetCullFace () メソッド (Sce.Pss.Core.Graphics)|GetCullFace ()]] |
| バックフェースカリングを取得する | | バックフェースカリングを取得する | ||
|- | |- | ||
188行目: | 188行目: | ||
| | | | ||
| DepthFunc | | DepthFunc | ||
− | | [[GraphicsContext.GetDepthFunc () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetDepthFunc () メソッド (Sce.Pss.Core.Graphics)|GetDepthFunc ()]] |
| デプステスト関数を取得する | | デプステスト関数を取得する | ||
|- | |- | ||
194行目: | 194行目: | ||
| | | | ||
| Vector2 | | Vector2 | ||
− | | [[GraphicsContext.GetDepthRange () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetDepthRange () メソッド (Sce.Pss.Core.Graphics)|GetDepthRange ()]] |
| デプス値の範囲を取得する | | デプス値の範囲を取得する | ||
|- | |- | ||
200行目: | 200行目: | ||
| | | | ||
| FrameBuffer | | FrameBuffer | ||
− | | [[GraphicsContext.GetFrameBuffer () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetFrameBuffer () メソッド (Sce.Pss.Core.Graphics)|GetFrameBuffer ()]] |
| フレームバッファを取得する | | フレームバッファを取得する | ||
|- | |- | ||
206行目: | 206行目: | ||
| | | | ||
| float | | float | ||
− | | [[GraphicsContext.GetLineWidth () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetLineWidth () メソッド (Sce.Pss.Core.Graphics)|GetLineWidth ()]] |
| ライン幅を取得する | | ライン幅を取得する | ||
|- | |- | ||
212行目: | 212行目: | ||
| | | | ||
| PolygonOffset | | PolygonOffset | ||
− | | [[GraphicsContext.GetPolygonOffset () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetPolygonOffset () メソッド (Sce.Pss.Core.Graphics)|GetPolygonOffset ()]] |
| ポリゴンオフセットを取得する | | ポリゴンオフセットを取得する | ||
|- | |- | ||
218行目: | 218行目: | ||
| | | | ||
| ImageRect | | ImageRect | ||
− | | [[GraphicsContext.GetScissor () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetScissor () メソッド (Sce.Pss.Core.Graphics)|GetScissor ()]] |
| シザーテストの矩形を取得する | | シザーテストの矩形を取得する | ||
|- | |- | ||
224行目: | 224行目: | ||
| | | | ||
| ShaderProgram | | ShaderProgram | ||
− | | [[GraphicsContext.GetShaderProgram () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetShaderProgram () メソッド (Sce.Pss.Core.Graphics)|GetShaderProgram ()]] |
| シェーダープログラムを取得する | | シェーダープログラムを取得する | ||
|- | |- | ||
230行目: | 230行目: | ||
| | | | ||
| StencilFunc | | StencilFunc | ||
− | | [[GraphicsContext.GetStencilFunc () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilFunc () メソッド (Sce.Pss.Core.Graphics)|GetStencilFunc ()]] |
| ステンシルテスト関数を取得する | | ステンシルテスト関数を取得する | ||
|- | |- | ||
236行目: | 236行目: | ||
| | | | ||
| StencilFunc | | StencilFunc | ||
− | | [[GraphicsContext.GetStencilFuncBack () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilFuncBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilFuncBack ()]] |
| ステンシルテスト関数を取得する (裏面用) | | ステンシルテスト関数を取得する (裏面用) | ||
|- | |- | ||
242行目: | 242行目: | ||
| | | | ||
| StencilFunc | | StencilFunc | ||
− | | [[GraphicsContext.GetStencilFuncFront () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilFuncFront () メソッド (Sce.Pss.Core.Graphics)|GetStencilFuncFront ()]] |
| ステンシルテスト関数を取得する (表面用) | | ステンシルテスト関数を取得する (表面用) | ||
|- | |- | ||
248行目: | 248行目: | ||
| | | | ||
| StencilOp | | StencilOp | ||
− | | [[GraphicsContext.GetStencilOp () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilOp () メソッド (Sce.Pss.Core.Graphics)|GetStencilOp ()]] |
| ステンシルテスト操作を取得する | | ステンシルテスト操作を取得する | ||
|- | |- | ||
254行目: | 254行目: | ||
| | | | ||
| StencilOp | | StencilOp | ||
− | | [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilOpBack ()]] |
| ステンシルテスト操作を取得する (裏面用) | | ステンシルテスト操作を取得する (裏面用) | ||
|- | |- | ||
260行目: | 260行目: | ||
| | | | ||
| StencilOp | | StencilOp | ||
− | | [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilOpBack ()]] |
| ステンシルテスト操作を取得する (表面用) | | ステンシルテスト操作を取得する (表面用) | ||
|- | |- | ||
266行目: | 266行目: | ||
| | | | ||
| Texture | | Texture | ||
− | | [[GraphicsContext.GetTexture (int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetTexture (int) メソッド (Sce.Pss.Core.Graphics)|GetTexture (int)]] |
| テクスチャを取得する | | テクスチャを取得する | ||
|- | |- | ||
272行目: | 272行目: | ||
| | | | ||
| VertexBuffer | | VertexBuffer | ||
− | | [[GraphicsContext.GetVertexBuffer (int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetVertexBuffer (int) メソッド (Sce.Pss.Core.Graphics)|GetVertexBuffer (int)]] |
| 頂点バッファを取得する | | 頂点バッファを取得する | ||
|- | |- | ||
278行目: | 278行目: | ||
| | | | ||
| ImageRect | | ImageRect | ||
− | | [[GraphicsContext.GetViewport () メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.GetViewport () メソッド (Sce.Pss.Core.Graphics)|GetViewport ()]] |
| ビューポートの矩形を取得する | | ビューポートの矩形を取得する | ||
|- | |- | ||
284行目: | 284行目: | ||
| | | | ||
| bool | | bool | ||
− | | [[GraphicsContext.IsEnabled (EnableMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.IsEnabled (EnableMode) メソッド (Sce.Pss.Core.Graphics)|IsEnabled (EnableMode)]] |
| 指定されたグラフィクス機能が有効かどうかを取得する | | 指定されたグラフィクス機能が有効かどうかを取得する | ||
|- | |- | ||
290行目: | 290行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.ReadPixels (byte[], PixelFormat, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.ReadPixels (byte[], PixelFormat, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (byte[], PixelFormat, int, int, int, int)]] |
| フレームバッファのピクセルを読み出す | | フレームバッファのピクセルを読み出す | ||
|- | |- | ||
296行目: | 296行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.ReadPixels (Texture2D, int, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.ReadPixels (Texture2D, int, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (Texture2D, int, int, int, int, int, int, int)]] |
| フレームバッファのピクセルを読み出す (2Dテクスチャにコピー) | | フレームバッファのピクセルを読み出す (2Dテクスチャにコピー) | ||
|- | |- | ||
302行目: | 302行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int)]] |
| フレームバッファのピクセルを読み出す (キューブテクスチャにコピー) | | フレームバッファのピクセルを読み出す (キューブテクスチャにコピー) | ||
|- | |- | ||
308行目: | 308行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFunc (BlendFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFunc (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFunc (BlendFunc)]] |
| アルファブレンド関数を設定する | | アルファブレンド関数を設定する | ||
|- | |- | ||
314行目: | 314行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]] |
| アルファブレンド関数を設定する | | アルファブレンド関数を設定する | ||
|- | |- | ||
320行目: | 320行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFuncAlpha (BlendFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFuncAlpha (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncAlpha (BlendFunc)]] |
| アルファブレンド関数を設定する (アルファチャンネル用) | | アルファブレンド関数を設定する (アルファチャンネル用) | ||
|- | |- | ||
326行目: | 326行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]] |
| アルファブレンド関数を設定する (アルファチャンネル用) | | アルファブレンド関数を設定する (アルファチャンネル用) | ||
|- | |- | ||
332行目: | 332行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFuncRgb (BlendFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFuncRgb (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncRgb (BlendFunc)]] |
| アルファブレンド関数を設定する (RGBチャンネル用) | | アルファブレンド関数を設定する (RGBチャンネル用) | ||
|- | |- | ||
338行目: | 338行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]] |
| アルファブレンド関数を設定する (RGBチャンネル用) | | アルファブレンド関数を設定する (RGBチャンネル用) | ||
|- | |- | ||
344行目: | 344行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetClearColor (Vector4) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetClearColor (Vector4) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (Vector4)]] |
| フレームバッファのクリアで使用されるカラーを設定する | | フレームバッファのクリアで使用されるカラーを設定する | ||
|- | |- | ||
350行目: | 350行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetClearColor (float, float, float, float) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetClearColor (float, float, float, float) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (float, float, float, float)]] |
| フレームバッファのクリアで使用されるカラーを設定する | | フレームバッファのクリアで使用されるカラーを設定する | ||
|- | |- | ||
356行目: | 356行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetClearColor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetClearColor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (int, int, int, int)]] |
| フレームバッファのクリアで使用されるカラーを設定する | | フレームバッファのクリアで使用されるカラーを設定する | ||
|- | |- | ||
362行目: | 362行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetClearDepth (float) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetClearDepth (float) メソッド (Sce.Pss.Core.Graphics)|SetClearDepth (float)]] |
| フレームバッファのクリアで使用されるデプス値を設定する | | フレームバッファのクリアで使用されるデプス値を設定する | ||
|- | |- | ||
368行目: | 368行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetClearStencil (int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetClearStencil (int) メソッド (Sce.Pss.Core.Graphics)|SetClearStencil (int)]] |
| フレームバッファのクリアで使用されるステンシル値を設定する | | フレームバッファのクリアで使用されるステンシル値を設定する | ||
|- | |- | ||
374行目: | 374行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetColorMask (ColorMask) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetColorMask (ColorMask) メソッド (Sce.Pss.Core.Graphics)|SetColorMask (ColorMask)]] |
| カラーの書き込みマスクを設定する | | カラーの書き込みマスクを設定する | ||
|- | |- | ||
380行目: | 380行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetCullFace (CullFace) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetCullFace (CullFace) メソッド (Sce.Pss.Core.Graphics)|SetCullFace (CullFace)]] |
| バックフェースカリングを設定する | | バックフェースカリングを設定する | ||
|- | |- | ||
386行目: | 386行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetCullFace (CullFaceMode, CullFaceDirection) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetCullFace (CullFaceMode, CullFaceDirection) メソッド (Sce.Pss.Core.Graphics)|SetCullFace (CullFaceMode, CullFaceDirection)]] |
| バックフェースカリングを設定する | | バックフェースカリングを設定する | ||
|- | |- | ||
392行目: | 392行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetDepthFunc (DepthFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetDepthFunc (DepthFunc) メソッド (Sce.Pss.Core.Graphics)|SetDepthFunc (DepthFunc)]] |
| デプステスト関数を設定する | | デプステスト関数を設定する | ||
|- | |- | ||
398行目: | 398行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetDepthFunc (DepthFuncMode, bool) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetDepthFunc (DepthFuncMode, bool) メソッド (Sce.Pss.Core.Graphics)|SetDepthFunc (DepthFuncMode, bool)]] |
| デプステスト関数を設定する | | デプステスト関数を設定する | ||
|- | |- | ||
404行目: | 404行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetDepthRange (Vector2) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetDepthRange (Vector2) メソッド (Sce.Pss.Core.Graphics)|SetDepthRange (Vector2)]] |
| デプス値の範囲を設定する | | デプス値の範囲を設定する | ||
|- | |- | ||
410行目: | 410行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetDepthRange (float, float) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetDepthRange (float, float) メソッド (Sce.Pss.Core.Graphics)|SetDepthRange (float, float)]] |
| デプス値の範囲を設定する | | デプス値の範囲を設定する | ||
|- | |- | ||
416行目: | 416行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetFrameBuffer (FrameBuffer) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetFrameBuffer (FrameBuffer) メソッド (Sce.Pss.Core.Graphics)|SetFrameBuffer (FrameBuffer)]] |
| フレームバッファを設定する | | フレームバッファを設定する | ||
|- | |- | ||
422行目: | 422行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetLineWidth (float) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetLineWidth (float) メソッド (Sce.Pss.Core.Graphics)|SetLineWidth (float)]] |
| ライン幅を設定する | | ライン幅を設定する | ||
|- | |- | ||
428行目: | 428行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetPolygonOffset (float, float) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetPolygonOffset (float, float) メソッド (Sce.Pss.Core.Graphics)|SetPolygonOffset (float, float)]] |
| ポリゴンオフセットを設定する | | ポリゴンオフセットを設定する | ||
|- | |- | ||
434行目: | 434行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetPolygonOffset (PolygonOffset) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetPolygonOffset (PolygonOffset) メソッド (Sce.Pss.Core.Graphics)|SetPolygonOffset (PolygonOffset)]] |
| ポリゴンオフセットを設定する | | ポリゴンオフセットを設定する | ||
|- | |- | ||
440行目: | 440行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetScissor (ImageRect) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetScissor (ImageRect) メソッド (Sce.Pss.Core.Graphics)|SetScissor (ImageRect)]] |
| シザーテストの矩形を設定する | | シザーテストの矩形を設定する | ||
|- | |- | ||
446行目: | 446行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetScissor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetScissor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetScissor (int, int, int, int)]] |
| シザーテストの矩形を設定する | | シザーテストの矩形を設定する | ||
|- | |- | ||
452行目: | 452行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetShaderProgram (ShaderProgram) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetShaderProgram (ShaderProgram) メソッド (Sce.Pss.Core.Graphics)|SetShaderProgram (ShaderProgram)]] |
| シェーダープログラムを設定する | | シェーダープログラムを設定する | ||
|- | |- | ||
458行目: | 458行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFunc (StencilFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFunc (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFunc (StencilFunc)]] |
| ステンシルテスト関数を設定する | | ステンシルテスト関数を設定する | ||
|- | |- | ||
464行目: | 464行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFunc (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFunc (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFunc (StencilFuncMode, int, int, int)]] |
| ステンシルテスト関数を設定する | | ステンシルテスト関数を設定する | ||
|- | |- | ||
470行目: | 470行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFuncBack (StencilFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFuncBack (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncBack (StencilFunc)]] |
| ステンシルテスト関数を設定する (裏面用) | | ステンシルテスト関数を設定する (裏面用) | ||
|- | |- | ||
476行目: | 476行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFuncBack (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFuncBack (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncBack (StencilFuncMode, int, int, int)]] |
| ステンシルテスト関数を設定する (裏面用) | | ステンシルテスト関数を設定する (裏面用) | ||
|- | |- | ||
482行目: | 482行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFuncFront (StencilFunc) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFuncFront (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncFront (StencilFunc)]] |
| ステンシルテスト関数を設定する (表面用) | | ステンシルテスト関数を設定する (表面用) | ||
|- | |- | ||
488行目: | 488行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilFuncFront (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilFuncFront (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncFront (StencilFuncMode, int, int, int)]] |
| ステンシルテスト関数を設定する (表面用) | | ステンシルテスト関数を設定する (表面用) | ||
|- | |- | ||
494行目: | 494行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOp (StencilOp) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOp (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOp (StencilOp)]] |
| ステンシルテスト操作を設定する | | ステンシルテスト操作を設定する | ||
|- | |- | ||
500行目: | 500行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode)]] |
| ステンシルテスト操作を設定する | | ステンシルテスト操作を設定する | ||
|- | |- | ||
506行目: | 506行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOpBack (StencilOp) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOpBack (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpBack (StencilOp)]] |
| ステンシルテスト操作を設定する (裏面用) | | ステンシルテスト操作を設定する (裏面用) | ||
|- | |- | ||
512行目: | 512行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode)]] |
| ステンシルテスト操作を設定する (裏面用) | | ステンシルテスト操作を設定する (裏面用) | ||
|- | |- | ||
518行目: | 518行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOpFront (StencilOp) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOpFront (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpFront (StencilOp)]] |
| ステンシルテスト操作を設定する (表面用) | | ステンシルテスト操作を設定する (表面用) | ||
|- | |- | ||
524行目: | 524行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode)]] |
| ステンシルテスト操作を設定する (表面用) | | ステンシルテスト操作を設定する (表面用) | ||
|- | |- | ||
530行目: | 530行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetTexture (int, Texture) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetTexture (int, Texture) メソッド (Sce.Pss.Core.Graphics)|SetTexture (int, Texture)]] |
| テクスチャを設定する | | テクスチャを設定する | ||
|- | |- | ||
536行目: | 536行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetVertexBuffer (int, VertexBuffer) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetVertexBuffer (int, VertexBuffer) メソッド (Sce.Pss.Core.Graphics)|SetVertexBuffer (int, VertexBuffer)]] |
| 頂点バッファを設定する | | 頂点バッファを設定する | ||
|- | |- | ||
542行目: | 542行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetViewport (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetViewport (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetViewport (int, int, int, int)]] |
| ビューポートの矩形を設定する | | ビューポートの矩形を設定する | ||
|- | |- | ||
548行目: | 548行目: | ||
| | | | ||
| void | | void | ||
− | | [[GraphicsContext.SetViewport (ImageRect) メソッド (Sce.Pss.Core.Graphics)]] | + | | [[GraphicsContext.SetViewport (ImageRect) メソッド (Sce.Pss.Core.Graphics)|SetViewport (ImageRect)]] |
| ビューポートの矩形を設定する | | ビューポートの矩形を設定する | ||
|} | |} |
2012年5月14日 (月) 02:26時点における最新版
GraphicsContext クラスとは、PlayStation Suiteにおけるグラフィックコンテキストを表すクラスである。
主にGameEngine2Dを使わずに低レベルでゴリゴリやりたい場合にもちいる。 またGameEngine2Dに変わる独自フレームワークを構築するような場合には、このクラスの知識が必須となる。
なお、GraphicsContextクラスのインスタンスは1アプリ1個までであり、2個以上作るとぶっ壊れる。
構文[編集 | ソースを編集]
public class GraphicsContext : IDisposable
GraphicsContextクラスはIDisposableを継承しているので、本来であれば使い終わったらDisposeメソッドを呼ぶ必要があるが、よほど特殊なケースでもないかぎりアプリ終了時以外でGraphicsContextのインスタンスを消滅させることはない。アプリ終了時にはプロセスごと消え去るのでDisposeする必要もとくにない。
構成[編集 | ソースを編集]
コンストラクタ[編集 | ソースを編集]
アクセス | キーワード | コンストラクタ名 | 概要 |
---|---|---|---|
public | GraphicsContext () | 標準的なグラフィクスコンテキストを作成する。 | |
public | GraphicsContext (int, int, PixelFormat, PixelFormat, MultiSampleMode) | 解像度などを指定してグラフィクスコンテキストを作成する。PlayStation Suite Simulatorで解像度を変更したい場合は、これを使う。 |
プロパティ[編集 | ソースを編集]
アクセス | キーワード | 戻り値 | プロパティ名 | アクセサ | 概要 |
---|---|---|---|---|---|
public | GraphicsCaps | Caps | get | 各パラメータの許容範囲やサポートする拡張機能などを取得する | |
public | FrameBuffer | Screen | get | デフォルトのスクリーンを表すフレームバッファを取得する | |
public | static | ImageSize[] | ScreenSizes | get | グラフィクスコンテキストを作成する時に指定できるスクリーンサイズの配列を取得する |
メソッド[編集 | ソースを編集]
アクセス | キーワード | 戻り値 | メソッド名 | 概要 |
---|---|---|---|---|
public | void | Dispose () | グラフィクスコンテキストのアンマネージドなリソース(ガーベジコレクター対象外のリソース)を解放する。 | |
public | void | Clear () | すべてのフレームバッファーをクリアする。 | |
public | void | Clear (ClearMask) | 指定したフレームバッファーをクリアする。 | |
public | void | Disable (EnableMode) | 指定したグラフィクス機能を無効にする。アルファブレンドなどを切りたい場合などに使う。 | |
public | void | DrawArrays (Primitive[]) | プリミティブを描画する (プリミティブ配列用) | |
public | void | DrawArrays (Primitive[], int, int) | プリミティブを描画する (プリミティブ配列用、範囲あり) | |
public | void | DrawArrays (DrawMode, int, int) | プリミティブを描画する | |
public | void | DrawArrays (DrawMode, int, int, int) | プリミティブを描画する (複数プリミティブ用) | |
public | void | Enable (EnableMode) | 指定したグラフィクス機能を有効にする | |
public | void | Enable (EnableMode, bool) | 指定したグラフィクス機能を有効または無効にする | |
public | BlendFunc | GetBlendFunc () | アルファブレンド関数を取得する | |
public | BlendFunc | GetBlendFuncAlpha () | アルファブレンド関数を取得する (アルファチャンネル用) | |
public | BlendFunc | GetBlendFuncRgb () | アルファブレンド関数を取得する (RGBチャンネル用) | |
public | Vector4 | GetClearColor () | フレームバッファーのクリア時に塗りつぶされる色を取得する | |
public | float | GetClearDepth () | フレームバッファーのクリア時に設定されるデプス値を取得する | |
public | int | GetClearStencil () | フレームバッファーのクリア時に設定されるステンシル値を取得する | |
public | ColorMask | GetColorMask () | カラーの書き込みマスクを取得する | |
public | CullFace | GetCullFace () | バックフェースカリングを取得する | |
public | DepthFunc | GetDepthFunc () | デプステスト関数を取得する | |
public | Vector2 | GetDepthRange () | デプス値の範囲を取得する | |
public | FrameBuffer | GetFrameBuffer () | フレームバッファを取得する | |
public | float | GetLineWidth () | ライン幅を取得する | |
public | PolygonOffset | GetPolygonOffset () | ポリゴンオフセットを取得する | |
public | ImageRect | GetScissor () | シザーテストの矩形を取得する | |
public | ShaderProgram | GetShaderProgram () | シェーダープログラムを取得する | |
public | StencilFunc | GetStencilFunc () | ステンシルテスト関数を取得する | |
public | StencilFunc | GetStencilFuncBack () | ステンシルテスト関数を取得する (裏面用) | |
public | StencilFunc | GetStencilFuncFront () | ステンシルテスト関数を取得する (表面用) | |
public | StencilOp | GetStencilOp () | ステンシルテスト操作を取得する | |
public | StencilOp | GetStencilOpBack () | ステンシルテスト操作を取得する (裏面用) | |
public | StencilOp | GetStencilOpBack () | ステンシルテスト操作を取得する (表面用) | |
public | Texture | GetTexture (int) | テクスチャを取得する | |
public | VertexBuffer | GetVertexBuffer (int) | 頂点バッファを取得する | |
public | ImageRect | GetViewport () | ビューポートの矩形を取得する | |
public | bool | IsEnabled (EnableMode) | 指定されたグラフィクス機能が有効かどうかを取得する | |
public | void | ReadPixels (byte[], PixelFormat, int, int, int, int) | フレームバッファのピクセルを読み出す | |
public | void | ReadPixels (Texture2D, int, int, int, int, int, int, int) | フレームバッファのピクセルを読み出す (2Dテクスチャにコピー) | |
public | void | ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int) | フレームバッファのピクセルを読み出す (キューブテクスチャにコピー) | |
public | void | SetBlendFunc (BlendFunc) | アルファブレンド関数を設定する | |
public | void | SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) | アルファブレンド関数を設定する | |
public | void | SetBlendFuncAlpha (BlendFunc) | アルファブレンド関数を設定する (アルファチャンネル用) | |
public | void | SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) | アルファブレンド関数を設定する (アルファチャンネル用) | |
public | void | SetBlendFuncRgb (BlendFunc) | アルファブレンド関数を設定する (RGBチャンネル用) | |
public | void | SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) | アルファブレンド関数を設定する (RGBチャンネル用) | |
public | void | SetClearColor (Vector4) | フレームバッファのクリアで使用されるカラーを設定する | |
public | void | SetClearColor (float, float, float, float) | フレームバッファのクリアで使用されるカラーを設定する | |
public | void | SetClearColor (int, int, int, int) | フレームバッファのクリアで使用されるカラーを設定する | |
public | void | SetClearDepth (float) | フレームバッファのクリアで使用されるデプス値を設定する | |
public | void | SetClearStencil (int) | フレームバッファのクリアで使用されるステンシル値を設定する | |
public | void | SetColorMask (ColorMask) | カラーの書き込みマスクを設定する | |
public | void | SetCullFace (CullFace) | バックフェースカリングを設定する | |
public | void | SetCullFace (CullFaceMode, CullFaceDirection) | バックフェースカリングを設定する | |
public | void | SetDepthFunc (DepthFunc) | デプステスト関数を設定する | |
public | void | SetDepthFunc (DepthFuncMode, bool) | デプステスト関数を設定する | |
public | void | SetDepthRange (Vector2) | デプス値の範囲を設定する | |
public | void | SetDepthRange (float, float) | デプス値の範囲を設定する | |
public | void | SetFrameBuffer (FrameBuffer) | フレームバッファを設定する | |
public | void | SetLineWidth (float) | ライン幅を設定する | |
public | void | SetPolygonOffset (float, float) | ポリゴンオフセットを設定する | |
public | void | SetPolygonOffset (PolygonOffset) | ポリゴンオフセットを設定する | |
public | void | SetScissor (ImageRect) | シザーテストの矩形を設定する | |
public | void | SetScissor (int, int, int, int) | シザーテストの矩形を設定する | |
public | void | SetShaderProgram (ShaderProgram) | シェーダープログラムを設定する | |
public | void | SetStencilFunc (StencilFunc) | ステンシルテスト関数を設定する | |
public | void | SetStencilFunc (StencilFuncMode, int, int, int) | ステンシルテスト関数を設定する | |
public | void | SetStencilFuncBack (StencilFunc) | ステンシルテスト関数を設定する (裏面用) | |
public | void | SetStencilFuncBack (StencilFuncMode, int, int, int) | ステンシルテスト関数を設定する (裏面用) | |
public | void | SetStencilFuncFront (StencilFunc) | ステンシルテスト関数を設定する (表面用) | |
public | void | SetStencilFuncFront (StencilFuncMode, int, int, int) | ステンシルテスト関数を設定する (表面用) | |
public | void | SetStencilOp (StencilOp) | ステンシルテスト操作を設定する | |
public | void | SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode) | ステンシルテスト操作を設定する | |
public | void | SetStencilOpBack (StencilOp) | ステンシルテスト操作を設定する (裏面用) | |
public | void | SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode) | ステンシルテスト操作を設定する (裏面用) | |
public | void | SetStencilOpFront (StencilOp) | ステンシルテスト操作を設定する (表面用) | |
public | void | SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode) | ステンシルテスト操作を設定する (表面用) | |
public | void | SetTexture (int, Texture) | テクスチャを設定する | |
public | void | SetVertexBuffer (int, VertexBuffer) | 頂点バッファを設定する | |
public | void | SetViewport (int, int, int, int) | ビューポートの矩形を設定する | |
public | void | SetViewport (ImageRect) | ビューポートの矩形を設定する |
フィールド[編集 | ソースを編集]
関連項目[編集 | ソースを編集]
参考文献[編集 | ソースを編集]