![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
Namespaces | |
| Internal | |
Functions | |
| void | Copy (const TextureRegion &from, const RenderTexture &to) |
| テクスチャの内容を、同じサイズの別のレンダーテクスチャに描画します。 More... | |
| void | Downsample (const TextureRegion &from, const RenderTexture &to) |
| テクスチャの内容を、別のレンダーテクスチャに描画します。 More... | |
| void | GaussianBlurH (const TextureRegion &from, const RenderTexture &to) |
| void | GaussianBlurV (const TextureRegion &from, const RenderTexture &to) |
| void | GaussianBlur (const TextureRegion &from, const RenderTexture &to, const Vec2 &direction) |
| void | GaussianBlur (const TextureRegion &from, const RenderTexture &internalBuffer, const RenderTexture &to) |
| テクスチャの内容をガウスぼかしして別のレンダーテクスチャに描画します。 More... | |
| void | LinearToScreen (const TextureRegion &src, TextureFilter textureFilter, const RectF &dst=RectF{ Graphics2D::GetRenderTargetSize() }) |
| 3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。 More... | |
| void | LinearToScreen (const TextureRegion &src, const Vec2 &pos, TextureFilter textureFilter=TextureFilter::Linear) |
| 3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。 More... | |
| void | LinearToScreen (const TextureRegion &src, const RectF &dst=RectF{ Graphics2D::GetRenderTargetSize() }, TextureFilter textureFilter=TextureFilter::Linear) |
| 3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。 More... | |
| void s3d::Shader::Copy | ( | const TextureRegion & | from, |
| const RenderTexture & | to | ||
| ) |
テクスチャの内容を、同じサイズの別のレンダーテクスチャに描画します。
| from | 描画する内容 |
| to | 描画先のレンダーテクスチャ |
| void s3d::Shader::Downsample | ( | const TextureRegion & | from, |
| const RenderTexture & | to | ||
| ) |
テクスチャの内容を、別のレンダーテクスチャに描画します。
| from | 描画する内容 |
| to | 描画先のレンダーテクスチャ |
| void s3d::Shader::GaussianBlur | ( | const TextureRegion & | from, |
| const RenderTexture & | internalBuffer, | ||
| const RenderTexture & | to | ||
| ) |
テクスチャの内容をガウスぼかしして別のレンダーテクスチャに描画します。
| from | 元のテクスチャ |
| internalBuffer | 中間状態を格納するレンダーテクスチャ |
| to | 描画先のレンダーテクスチャ |
| void s3d::Shader::GaussianBlur | ( | const TextureRegion & | from, |
| const RenderTexture & | to, | ||
| const Vec2 & | direction | ||
| ) |
| void s3d::Shader::GaussianBlurH | ( | const TextureRegion & | from, |
| const RenderTexture & | to | ||
| ) |
| void s3d::Shader::GaussianBlurV | ( | const TextureRegion & | from, |
| const RenderTexture & | to | ||
| ) |
| void s3d::Shader::LinearToScreen | ( | const TextureRegion & | src, |
| const RectF & | dst = RectF{ Graphics2D::GetRenderTargetSize() }, |
||
| TextureFilter | textureFilter = TextureFilter::Linear |
||
| ) |
3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。
| src | 転送するテクスチャ |
| dst | メインのシーンの転送先領域 |
| textureFilter | リサイズする場合のテクスチャフィルタ |
| void s3d::Shader::LinearToScreen | ( | const TextureRegion & | src, |
| const Vec2 & | pos, | ||
| TextureFilter | textureFilter = TextureFilter::Linear |
||
| ) |
3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。
| src | 転送するテクスチャ |
| pos | メインのシーンの転送先の座標 |
| textureFilter | リサイズする場合のテクスチャフィルタ |
| void s3d::Shader::LinearToScreen | ( | const TextureRegion & | src, |
| TextureFilter | textureFilter, | ||
| const RectF & | dst = RectF{ Graphics2D::GetRenderTargetSize() } |
||
| ) |
3D シーンを描画したリニア色空間のレンダーテクスチャを、メインのシーンに転送します。
| src | 転送するテクスチャ |
| textureFilter | リサイズする場合のテクスチャフィルタ |
| dst | メインのシーンの転送先領域 |