This is the documentation for Enlighten.
class Enlighten A8CpuTextureSampler
class Enlighten::A8CpuTextureSampler
└>Enlighten::CpuTextureSamplerBase< 1 >
A8 texture sampler.
Functions
Name | Description |
|---|---|
A8CpuTextureSampler(const void *, Geo::s32, Geo::s32, Geo::s32, Geo::s32, Geo::s32) | Constructor. |
CpuTextureSamplerBase(const void *, Geo::s32, Geo::s32, Geo::s32) | Constructor. |
Gets the height of the texture. | |
Gets the index into the raw pixel data of the given co-ordinates. | |
Gets the pixel value at the given co-ordinates. | |
Gets the width of the texture. |
Variables
Enlighten::A8CpuTextureSampler::A8CpuTextureSampler
public: A8CpuTextureSampler
(
const void * data,
Geo::s32 width,
Geo::s32 height,
Geo::s32 linePitch,
Geo::s32 pixelPitch,
Geo::s32 alphaByteOffset
)
Constructor.
Enlighten::CpuTextureSamplerBase< SizeOfPixel >::CpuTextureSamplerBase
protected: CpuTextureSamplerBase
(
const void * data,
Geo::s32 width,
Geo::s32 height,
Geo::s32 pitch
)
Constructor.