CrossFramework Library

構造体 XBase::Color4bPOD

#include <XBase/Color4b.hpp>


8bit符号無し整数をRGBAの順に並べた色構造体。

XBase::Color4bPODに対する継承グラフ

すべてのメンバ一覧

定数取得
static const Color4bPOD Zero ()
 0の色。
static const Color4bPOD One ()
 R,G,B,Aが全て255の色。
static const Color4bPOD UnitR ()
 Rだけ1の色。
static const Color4bPOD UnitG ()
 Gだけ1の色。
static const Color4bPOD UnitB ()
 Bだけ1の色。
static const Color4bPOD UnitA ()
 Aだけ1の色。

変数
u8 r
 r。
u8 g
 g。
u8 b
 b。
u8 a
 a。

変換
const Color3bPOD toRGB () const
const Color3bPOD toRRR () const
const Color3bPOD toGGG () const
const Color3bPOD toBBB () const
const Color3bPOD toAAA () const
const Color4bPOD toRRRR () const
const Color4bPOD toGGGG () const
const Color4bPOD toBBBB () const
const Color4bPOD toAAAA () const
const Color4POD toRGBAf () const
ユーティリティ
const ShortString toShortString () const
 r,g,b,a形式の文字列に変換。
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義