|
SIV3D_NODISCARD_CXX20 | MSRenderTexture () |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (uint32 width, uint32 height, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDepth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (uint32 width, uint32 height, HasDepth hasDepth) |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (const Size &size, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDepth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (const Size &size, HasDepth hasDepth) |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (uint32 width, uint32 height, const ColorF &color, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDepth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | MSRenderTexture (const Size &size, const ColorF &color, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDepth=HasDepth::No) |
|
void | resolve () const |
| レンダリングされたマルチサンプルテクスチャを通常のテクスチャに resolve し、描画可能な状態にします。 More...
|
|
const MSRenderTexture & | clear (const ColorF &color) const |
| テクスチャを指定した色で塗りつぶします。デプスを持つ場合、デプスもクリアします。 More...
|
|
void | readAsImage (Image &image) const |
|
void | swap (MSRenderTexture &other) noexcept |
|
SIV3D_NODISCARD_CXX20 | RenderTexture () |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (uint32 width, uint32 height, const ColorF &color=ColorF{ 0.0, 1.0 }, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Size &size, const ColorF &color=ColorF{ 0.0, 1.0 }, const TextureFormat &format=TextureFormat::R8G8B8A8_Unorm, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (uint32 width, uint32 height, const TextureFormat &format, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (uint32 width, uint32 height, HasDepth hasDpeth) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Size &size, const TextureFormat &format, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Size &size, HasDepth hasDpeth) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Image &image, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Grid< float > &image, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Grid< Float2 > &image, HasDepth hasDpeth=HasDepth::No) |
|
SIV3D_NODISCARD_CXX20 | RenderTexture (const Grid< Float4 > &image, HasDepth hasDpeth=HasDepth::No) |
|
virtual | ~RenderTexture () |
|
const RenderTexture & | clear (const ColorF &color) const |
| テクスチャを指定した色で塗りつぶします。デプスを持つ場合、デプスもクリアします。 More...
|
|
void | readAsImage (Image &image) const |
|
void | read (Grid< float > &image) const |
|
void | read (Grid< Float2 > &image) const |
|
void | read (Grid< Float4 > &image) const |
|
void | swap (RenderTexture &other) noexcept |
|
SIV3D_NODISCARD_CXX20 | Texture () |
|
SIV3D_NODISCARD_CXX20 | Texture (const Image &image, TextureDesc desc=TextureDesc::Unmipped) |
|
SIV3D_NODISCARD_CXX20 | Texture (const Image &image, const Array< Image > &mipmaps, TextureDesc desc=TextureDesc::Mipped) |
|
SIV3D_NODISCARD_CXX20 | Texture (FilePathView path, TextureDesc desc=TextureDesc::Unmipped) |
| 画像ファイルからテクスチャを作成します。 More...
|
|
SIV3D_NODISCARD_CXX20 | Texture (IReader &&reader, TextureDesc desc=TextureDesc::Unmipped) |
|
SIV3D_NODISCARD_CXX20 | Texture (FilePathView rgb, FilePathView alpha, TextureDesc desc=TextureDesc::Unmipped) |
|
SIV3D_NODISCARD_CXX20 | Texture (const Color &rgb, FilePathView alpha, TextureDesc desc=TextureDesc::Unmipped) |
|
SIV3D_NODISCARD_CXX20 | Texture (const Emoji &emoji, TextureDesc desc=TextureDesc::Mipped) |
| 絵文字からテクスチャを作成します。 More...
|
|
SIV3D_NODISCARD_CXX20 | Texture (const Icon &icon, int32 size, TextureDesc desc=TextureDesc::Mipped) |
| アイコンからテクスチャを作成します。 More...
|
|
virtual | ~Texture () |
|
int32 | width () const |
| テクスチャの幅(ピクセル)を返します。 More...
|
|
int32 | height () const |
| テクスチャの高さ(ピクセル)を返します。 More...
|
|
Size | size () const |
| テクスチャの幅と高さ(ピクセル)を返します。 More...
|
|
template<class Type = double> |
Type | horizontalAspectRatio () const noexcept |
|
TextureDesc | getDesc () const |
| テクスチャの設定を返します。 More...
|
|
TextureFormat | getFormat () const |
| テクスチャのフォーマットを返します。 More...
|
|
bool | isMipped () const |
| ミップマッピングが有効化されているかを返します。 More...
|
|
bool | srgbSampling () const |
|
bool | isSDF () const |
|
bool | hasDepth () const |
| デプスバッファを持っているかを返します。 More...
|
|
Rect | region (int32 x, int32 y) const |
|
Rect | region (Point pos=Point{ 0, 0 }) const |
|
RectF | region (double x, double y) const |
|
RectF | region (Vec2 pos) const |
|
RectF | regionAt (double x, double y) const |
|
RectF | regionAt (Vec2 pos) const |
|
RectF | draw (const ColorF &diffuse=Palette::White) const |
|
RectF | draw (const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
RectF | draw (Arg::top_< ColorF > topColor, Arg::bottom_< ColorF > bottomColor) const |
|
RectF | draw (Arg::left_< ColorF > leftColor, Arg::right_< ColorF > rightColor) const |
|
RectF | draw (double x, double y, const ColorF &diffuse=Palette::White) const |
| 左上位置を指定してテクスチャを描画します。 More...
|
|
RectF | draw (double x, double y, const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
RectF | draw (double x, double y, Arg::top_< ColorF > topColor, Arg::bottom_< ColorF > bottomColor) const |
|
RectF | draw (double x, double y, Arg::left_< ColorF > leftColor, Arg::right_< ColorF > rightColor) const |
|
RectF | draw (const Vec2 &pos, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (const Vec2 &pos, const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
RectF | draw (const Vec2 &pos, Arg::top_< ColorF > topColor, Arg::bottom_< ColorF > bottomColor) const |
|
RectF | draw (const Vec2 &pos, Arg::left_< ColorF > leftColor, Arg::right_< ColorF > rightColor) const |
|
RectF | draw (Arg::topLeft_< Vec2 > topLeft, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::topRight_< Vec2 > topRight, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::bottomLeft_< Vec2 > bottomLeft, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::bottomRight_< Vec2 > bottomRight, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::topCenter_< Vec2 > topCenter, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::bottomCenter_< Vec2 > bottomCenter, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::leftCenter_< Vec2 > leftCenter, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::rightCenter_< Vec2 >rightCenter, const ColorF &diffuse=Palette::White) const |
|
RectF | draw (Arg::center_< Vec2 > center, const ColorF &diffuse=Palette::White) const |
|
RectF | drawAt (double x, double y, const ColorF &diffuse=Palette::White) const |
|
RectF | drawAt (double x, double y, const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
RectF | drawAt (const Vec2 &pos, const ColorF &diffuse=Palette::White) const |
|
RectF | drawAt (const Vec2 &pos, const ColorF &color0, const ColorF &color1, const ColorF &color2, const ColorF &color3) const |
|
RectF | drawClipped (double x, double y, const RectF &clipRect, const ColorF &diffuse=Palette::White) const |
|
RectF | drawClipped (const Vec2 &pos, const RectF &clipRect, const ColorF &diffuse=Palette::White) const |
|
RectF | drawAtClipped (double x, double y, const RectF &clipRect, const ColorF &diffuse=Palette::White) const |
|
RectF | drawAtClipped (const Vec2 &pos, const RectF &clipRect, const ColorF &diffuse=Palette::White) const |
|
TextureRegion | operator() (double x, double y, double w, double h) const |
|
TextureRegion | operator() (const Vec2 &xy, double w, double h) const |
|
TextureRegion | operator() (double x, double y, double size) const |
|
TextureRegion | operator() (double x, double y, const Vec2 &size) const |
|
TextureRegion | operator() (const Vec2 &xy, const Vec2 &size) const |
|
TextureRegion | operator() (const RectF &rect) const |
|
TextureRegion | uv (double u, double v, double w, double h) const |
|
TextureRegion | uv (const RectF &rect) const |
|
TextureRegion | mirrored () const |
|
TextureRegion | mirrored (bool doMirror) const |
|
TextureRegion | flipped () const |
|
TextureRegion | flipped (bool doFlip) const |
|
TextureRegion | scaled (double s) const |
|
TextureRegion | scaled (double xs, double ys) const |
|
TextureRegion | scaled (Vec2 s) const |
|
TextureRegion | resized (double size) const |
| 長辺が指定したサイズになるようリサイズした TextureRegion を返します。 More...
|
|
TextureRegion | resized (double width, double height) const |
|
TextureRegion | resized (Vec2 size) const |
|
TextureRegion | repeated (double xRepeat, double yRepeat) const |
|
TextureRegion | repeated (Vec2 _repeat) const |
|
TextureRegion | mapped (double width, double height) const |
|
TextureRegion | mapped (Vec2 size) const |
|
TextureRegion | fitted (double width, double height, AllowScaleUp allowScaleUp=AllowScaleUp::Yes) const |
|
TextureRegion | fitted (const Vec2 &size, AllowScaleUp allowScaleUp=AllowScaleUp::Yes) const |
|
TexturedQuad | rotated (double angle) const |
|
TexturedQuad | rotatedAt (double x, double y, double angle) const |
|
TexturedQuad | rotatedAt (const Vec2 &pos, double angle) const |
|
TexturedRoundRect | rounded (double r) const |
|
TexturedRoundRect | rounded (double x, double y, double w, double h, double r) const |
|
void | swap (Texture &other) noexcept |
|
SIV3D_NODISCARD_CXX20 | AssetHandle () |
|
SIV3D_NODISCARD_CXX20 | AssetHandle (std::shared_ptr< AssetIDWrapperType > &&id) |
|
IDType | id () const noexcept |
| アセットの内部管理 ID を返します。 More...
|
|
bool | isEmpty () const noexcept |
| アセットが空であるかを返します。 More...
|
|
| operator bool () const noexcept |
| アセットが空でないかを返します。 More...
|
|
bool | operator== (const AssetHandle &other) const noexcept |
| 2 つのアセットが同じオブジェクトであるかを返します。 More...
|
|
bool | operator!= (const AssetHandle &other) const noexcept |
| 2 つのアセットが異なるオブジェクトであるかを返します。 More...
|
|
void | release () |
| このハンドルが管理するアセットを解放します。 More...
|
|
マルチサンプル(アンチエイリアス付き)レンダーテクスチャ