![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
#include "Common.hpp"
#include "Optional.hpp"
#include "BlendState.hpp"
#include "RasterizerState.hpp"
#include "SamplerState.hpp"
#include "ShaderStage.hpp"
#include "VertexShader.hpp"
#include "PixelShader.hpp"
#include "Texture.hpp"
#include "RenderTexture.hpp"
#include "ConstantBuffer.hpp"
#include "Mat3x2.hpp"
#include "detail/Graphics2D.ipp"
Namespaces | |
s3d | |
s3d::Graphics2D | |
Functions | |
Float4 | s3d::Graphics2D::GetColorMul () |
現在適用されている乗算カラーを返します。 More... | |
Float4 | s3d::Graphics2D::GetColorAdd () |
現在適用されている加算カラーを返します。 More... | |
BlendState | s3d::Graphics2D::GetBlendState () |
現在適用されているブレンドステートを返します。 More... | |
RasterizerState | s3d::Graphics2D::GetRasterizerState () |
現在適用されているラスタライザーステートを返します。 More... | |
SamplerState | s3d::Graphics2D::GetSamplerState (ShaderStage shaderStage=ShaderStage::Pixel, uint32 slot=0) |
現在適用されているサンプラーステートを返します。 More... | |
void | s3d::Graphics2D::SetScissorRect (const Rect &rect) |
シザー矩形を設定します。 More... | |
Rect | s3d::Graphics2D::GetScissorRect () |
現在設定されているシザー矩形を返します。 More... | |
Optional< Rect > | s3d::Graphics2D::GetViewport () |
現在適用されているビューポートを返します。 More... | |
Optional< VertexShader > | s3d::Graphics2D::GetCustomVertexShader () |
現在適用されている頂点シェーダを返します。 More... | |
Optional< PixelShader > | s3d::Graphics2D::GetCustomPixelShader () |
現在適用されているピクセルシェーダを返します。 More... | |
const Mat3x2 & | s3d::Graphics2D::GetLocalTransform () |
現在適用されているローカル座標変換を返します。 More... | |
const Mat3x2 & | s3d::Graphics2D::GetCameraTransform () |
現在適用されている 2D カメラ座標変換を返します。 More... | |
float | s3d::Graphics2D::GetMaxScaling () noexcept |
現在適用されている座標変換による縦横の拡大縮小倍率のうち大きいほうを返します。 More... | |
Optional< RenderTexture > | s3d::Graphics2D::GetRenderTarget () |
現在のレンダーターゲットになっているレンダーテクスチャを返します。 More... | |
Size | s3d::Graphics2D::GetRenderTargetSize () |
現在のレンダーターゲットのサイズ(ピクセル)を返します More... | |
void | s3d::Graphics2D::SetVSTexture (uint32 slot, const Optional< Texture > &texture) |
2D 描画の頂点シェーダのテクスチャスロットにテクスチャをアタッチします。 More... | |
void | s3d::Graphics2D::SetPSTexture (uint32 slot, const Optional< Texture > &texture) |
2D 描画のピクセルシェーダのテクスチャスロットにテクスチャをアタッチします。 More... | |
void | s3d::Graphics2D::Flush () |
現在までの 2D 描画を実行します。 More... | |
void | s3d::Graphics2D::DrawTriangles (uint32 count) |
頂点情報を設定せずに 2D 三角形を描画します。 More... | |
void | s3d::Graphics2D::SetSDFParameters (const TextStyle &textStyle) |
SDF 描画用のパラメータを設定します。 More... | |
void | s3d::Graphics2D::SetMSDFParameters (const TextStyle &textStyle) |
MSDF 描画用のパラメータを設定します。 More... | |
template<class Type > | |
void | s3d::Graphics2D::SetVSConstantBuffer (uint32 slot, const ConstantBuffer< Type > &buffer) |
頂点シェーダの定数バッファを設定します。 More... | |
template<class Type > | |
void | s3d::Graphics2D::SetPSConstantBuffer (uint32 slot, const ConstantBuffer< Type > &buffer) |
ピクセルシェーダの定数バッファを設定します。 More... | |
template<class Type > | |
void | s3d::Graphics2D::SetConstantBuffer (ShaderStage stage, uint32 slot, const ConstantBuffer< Type > &buffer) |
定数バッファを設定します。 More... | |