kick
Public Member Functions | Friends
kick::Texture2D Class Reference
Inheritance diagram for kick::Texture2D:
kick::ProjectAsset

List of all members.

Public Member Functions

 Texture2D (const Texture2D &)
 Texture2D (Texture2D &&m)
void setEmptyColorTexture (int width=512, int height=512, int colorChannels=4, bool fpTexture=false)
void setEmptyDepthTexture (int width=512, int height=512, int bits=32, bool fpTexture=false)
void setData (const Texture2DData &data, const ImageFormat &imageFormat={})
void setData (int width, int height, const char *data, const ImageFormat &imageFormat={})
Texture2DData data ()
int dataSize ()
void bind (int textureSlot)
int width ()
int height ()
glm::vec2 size ()
void setTextureSampler (const TextureSampler &textureSampler)
TextureSampler textureSampler () const
ImageFormat imageFormat () const
void saveBMPImage (std::string filename)

Friends

class TextureRenderTarget

Detailed Description

Definition at line 23 of file texture2d.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables