finished tutorial 03
This commit is contained in:
@@ -45,7 +45,7 @@ class Texture {
|
||||
|
||||
float getSizeInMB() const;
|
||||
|
||||
inline texwrap_t* getWrapSettings() { return &wrap; }
|
||||
inline const texwrap_t* getWrapSettings() const { return &wrap; }
|
||||
|
||||
inline const std::vector<TextureLink>& getTextureLinks() const {
|
||||
return links;
|
||||
|
||||
@@ -27,7 +27,7 @@ class RendererCoreTexture {
|
||||
clutbuffer_t clut;
|
||||
TextureRepository repository;
|
||||
|
||||
RendererCoreTextureBuffers useTexture(Texture* t_tex);
|
||||
RendererCoreTextureBuffers useTexture(const Texture* t_tex);
|
||||
|
||||
/** Called by renderer during initialization */
|
||||
void init(RendererCoreGS* gs, Path3* path3);
|
||||
|
||||
@@ -27,7 +27,7 @@ class RendererCoreTextureSender {
|
||||
|
||||
void init(Path3* path3, RendererCoreGS* gs);
|
||||
|
||||
RendererCoreTextureBuffers allocate(Texture* t_texture);
|
||||
RendererCoreTextureBuffers allocate(const Texture* t_texture);
|
||||
|
||||
void deallocate(const RendererCoreTextureBuffers& texBuffers);
|
||||
|
||||
@@ -37,8 +37,8 @@ class RendererCoreTextureSender {
|
||||
RendererCoreGS* gs;
|
||||
Path3* path3;
|
||||
TextureBpp getBppByPsm(const u32& psm);
|
||||
texbuffer_t* allocateTextureCore(Texture* t_texture);
|
||||
texbuffer_t* allocateTextureClut(Texture* t_texture);
|
||||
texbuffer_t* allocateTextureCore(const Texture* t_texture);
|
||||
texbuffer_t* allocateTextureClut(const Texture* t_texture);
|
||||
};
|
||||
|
||||
} // namespace Tyra
|
||||
|
||||
Reference in New Issue
Block a user