#include <aglTextureData.h>
Inherited by agl::utl::TextureDataEx.
|
| | TextureData () |
| virtual | ~TextureData () |
| bool | operator== (const TextureData &rhs) const |
| bool | operator!= (const TextureData &rhs) const |
| TextureFormat | getTextureFormat () const |
| TextureType | getTextureType () const |
| u32 | getWidth (s32 mip_level=0) const |
| u32 | getHeight (s32 mip_level=0) const |
| MultiSampleType | getMultiSampleType () const |
| u32 | getSliceNum (s32 mip_level=0) const |
| void * | getImagePtr () const |
| void | setImagePtr (void *ptr) |
| u32 | getImageByteSize () const |
| void * | getMipPtr () const |
| void | setMipPtr (void *ptr) |
| u32 | getMipByteSize () const |
| u32 | getAlignment () const |
| const GX2Surface & | getSurface () const |
| TextureCompSel | getComponentR () const |
| TextureCompSel | getComponentG () const |
| TextureCompSel | getComponentB () const |
| TextureCompSel | getComponentA () const |
| void | setTextureCompSel (TextureCompSel r, TextureCompSel g, TextureCompSel b, TextureCompSel a) |
| void | initialize (TextureFormat format, u32 width, u32 height, u32 mip_level_num) |
| void | initialize3D (TextureFormat format, u32 width, u32 height, u32 slice_num, u32 mip_level_num) |
| void | initializeCubeMap (TextureFormat format, u32 width, u32 height, u32 mip_level_num) |
| void | initializeCubeMapArray (TextureFormat format, u32 width, u32 height, u32 array_num, u32 mip_level_num) |
| void | initializeArray (TextureFormat format, u32 width, u32 height, u32 array_num, u32 mip_level_num) |
| void | initializeMultiSample (TextureFormat format, u32 width, u32 height, MultiSampleType multi_sample_type) |
| u32 | getMipLevelNum () const |
| void | setMipLevelNum (u32 mip_level_num) |
| void | setSurfaceSwizzle (u32 swizzle) |
| void | invalidateGPUCache () const |
| void | copyTo (const TextureData *dst, s32 slice, s32 mip_level) const |
| void | copyTo (const TextureData *dst, s32 dst_slice, s32 dst_mip_level, s32 src_slice, s32 src_mip_level) const |
| void | copyToAll (const TextureData *dst) const |
| void | initializeFromSurface (const GX2Surface &surface) |
|
| void | copyTo_ (const TextureData *dst, s32 dst_slice, s32 dst_mip_level, s32 src_slice, s32 src_mip_level, bool restore_state) const |
| void | initialize_ (TextureType type, TextureFormat format, u32 width, u32 height, u32 slice_num, u32 mip_level_num, MultiSampleType multi_sample_type) |
| void | initializeSize_ (u32 width, u32 height, u32 slice_num) |
◆ TextureData()
| agl::TextureData::TextureData |
( |
| ) |
|
◆ ~TextureData()
| virtual agl::TextureData::~TextureData |
( |
| ) |
|
|
inlinevirtual |
◆ operator==()
| bool agl::TextureData::operator== |
( |
const TextureData & | rhs | ) |
const |
|
inline |
◆ operator!=()
| bool agl::TextureData::operator!= |
( |
const TextureData & | rhs | ) |
const |
|
inline |
◆ getTextureFormat()
◆ getTextureType()
◆ getWidth()
| u32 agl::TextureData::getWidth |
( |
s32 | mip_level = 0 | ) |
const |
|
inline |
◆ getHeight()
| u32 agl::TextureData::getHeight |
( |
s32 | mip_level = 0 | ) |
const |
|
inline |
◆ getMultiSampleType()
◆ getSliceNum()
| u32 agl::TextureData::getSliceNum |
( |
s32 | mip_level = 0 | ) |
const |
|
inline |
◆ getImagePtr()
| void * agl::TextureData::getImagePtr |
( |
| ) |
const |
|
inline |
◆ setImagePtr()
| void agl::TextureData::setImagePtr |
( |
void * | ptr | ) |
|
|
inline |
◆ getImageByteSize()
| u32 agl::TextureData::getImageByteSize |
( |
| ) |
const |
|
inline |
◆ getMipPtr()
| void * agl::TextureData::getMipPtr |
( |
| ) |
const |
|
inline |
◆ setMipPtr()
| void agl::TextureData::setMipPtr |
( |
void * | ptr | ) |
|
|
inline |
◆ getMipByteSize()
| u32 agl::TextureData::getMipByteSize |
( |
| ) |
const |
|
inline |
◆ getAlignment()
| u32 agl::TextureData::getAlignment |
( |
| ) |
const |
|
inline |
◆ getSurface()
| const GX2Surface & agl::TextureData::getSurface |
( |
| ) |
const |
|
inline |
◆ getComponentR()
◆ getComponentG()
◆ getComponentB()
◆ getComponentA()
◆ setTextureCompSel()
◆ initialize()
| void agl::TextureData::initialize |
( |
TextureFormat | format, |
|
|
u32 | width, |
|
|
u32 | height, |
|
|
u32 | mip_level_num ) |
|
inline |
◆ initialize3D()
| void agl::TextureData::initialize3D |
( |
TextureFormat | format, |
|
|
u32 | width, |
|
|
u32 | height, |
|
|
u32 | slice_num, |
|
|
u32 | mip_level_num ) |
|
inline |
◆ initializeCubeMap()
| void agl::TextureData::initializeCubeMap |
( |
TextureFormat | format, |
|
|
u32 | width, |
|
|
u32 | height, |
|
|
u32 | mip_level_num ) |
|
inline |
◆ initializeCubeMapArray()
| void agl::TextureData::initializeCubeMapArray |
( |
TextureFormat | format, |
|
|
u32 | width, |
|
|
u32 | height, |
|
|
u32 | array_num, |
|
|
u32 | mip_level_num ) |
|
inline |
◆ initializeArray()
| void agl::TextureData::initializeArray |
( |
TextureFormat | format, |
|
|
u32 | width, |
|
|
u32 | height, |
|
|
u32 | array_num, |
|
|
u32 | mip_level_num ) |
|
inline |
◆ initializeMultiSample()
◆ getMipLevelNum()
| u32 agl::TextureData::getMipLevelNum |
( |
| ) |
const |
|
inline |
◆ setMipLevelNum()
| void agl::TextureData::setMipLevelNum |
( |
u32 | mip_level_num | ) |
|
◆ setSurfaceSwizzle()
| void agl::TextureData::setSurfaceSwizzle |
( |
u32 | swizzle | ) |
|
|
inline |
◆ invalidateGPUCache()
| void agl::TextureData::invalidateGPUCache |
( |
| ) |
const |
◆ copyTo_()
| void agl::TextureData::copyTo_ |
( |
const TextureData * | dst, |
|
|
s32 | dst_slice, |
|
|
s32 | dst_mip_level, |
|
|
s32 | src_slice, |
|
|
s32 | src_mip_level, |
|
|
bool | restore_state ) const |
|
private |
◆ copyTo() [1/2]
| void agl::TextureData::copyTo |
( |
const TextureData * | dst, |
|
|
s32 | slice, |
|
|
s32 | mip_level ) const |
|
inline |
◆ copyTo() [2/2]
| void agl::TextureData::copyTo |
( |
const TextureData * | dst, |
|
|
s32 | dst_slice, |
|
|
s32 | dst_mip_level, |
|
|
s32 | src_slice, |
|
|
s32 | src_mip_level ) const |
|
inline |
◆ copyToAll()
| void agl::TextureData::copyToAll |
( |
const TextureData * | dst | ) |
const |
◆ initialize_()
◆ initializeSize_()
| void agl::TextureData::initializeSize_ |
( |
u32 | width, |
|
|
u32 | height, |
|
|
u32 | slice_num ) |
|
private |
◆ initializeFromSurface()
| void agl::TextureData::initializeFromSurface |
( |
const GX2Surface & | surface | ) |
|
◆ mFormat
◆ mSurface
| GX2Surface agl::TextureData::mSurface |
|
mutableprivate |
◆ mMinWidth
| u32 agl::TextureData::mMinWidth |
|
private |
◆ mMinHeight
| u32 agl::TextureData::mMinHeight |
|
private |
◆ mMinSlice
| u32 agl::TextureData::mMinSlice |
|
private |
◆ mMaxMipLevel
| u32 agl::TextureData::mMaxMipLevel |
|
private |
◆ mCompR
◆ mCompG
◆ mCompB
◆ mCompA