YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.client.CopySubimageTextureHelper Class Reference
Inheritance diagram for cpw.mods.fml.client.CopySubimageTextureHelper:
cpw.mods.fml.client.TextureHelper

Public Member Functions

void doTextureCopy (Texture atlas, Texture source, int atlasX, int atlasY)
 
void doTextureUpload (TextureStitched source)
 
- Public Member Functions inherited from cpw.mods.fml.client.TextureHelper
void rotateTexture (Texture texture, ByteBuffer buffer)
 

Member Function Documentation

void cpw.mods.fml.client.CopySubimageTextureHelper.doTextureCopy ( Texture  atlas,
Texture  source,
int  atlasX,
int  atlasY 
)
virtual

Copy the texture from the source to the atlas at the specified position

This will use the devised GL helper to do either GL-side copy or a subimage upload

Parameters
atlasThe atlas texture we're copying into
sourceThe source texture we're copying from (complete)
atlasXThe X position on the atlas
atlasYThe Y position on the atlas

Implements cpw.mods.fml.client.TextureHelper.

void cpw.mods.fml.client.CopySubimageTextureHelper.doTextureUpload ( TextureStitched  source)
virtual

Upload the texture to the GPU for GL side copying operations This may be a no-op depending on the active implementation.

Parameters
sourceThe texture to upload

Implements cpw.mods.fml.client.TextureHelper.


The documentation for this class was generated from the following file: