This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine::Texture Class

UNIGINEUNIGINE 2.0Comments
-TEXTURE_CUBE_ARRAY Enumeration member was added.
-FORMAT_R16U Enumeration member was added.
-FORMAT_RG16U Enumeration member was added.
-FORMAT_RGB16U Enumeration member was added.
-FORMAT_RGBA16U Enumeration member was added.
-FORMAT_R32U Enumeration member was added.
-FORMAT_RG32U Enumeration member was added.
-FORMAT_RGB32U Enumeration member was added.
-FORMAT_RGBA32U Enumeration member was added.
FORMAT_R5G6B5FORMAT_RGB565 Enumeration member was changed.
FORMAT_ETC1- Enumeration member was removed.
FORMAT_ETC2- Enumeration member was removed.
FORMAT_ETC5- Enumeration member was removed.
FORMAT_EAC1- Enumeration member was removed.
FORMAT_EAC2- Enumeration member was removed.
FORMAT_ATC1- Enumeration member was removed.
FORMAT_ATC3- Enumeration member was removed.
FORMAT_ATC5- Enumeration member was removed.
FORMAT_PVR4- Enumeration member was removed.
FORMAT_COMPRESSED_DXT- Enumeration member was removed.
FORMAT_COMPRESSED_ATI- Enumeration member was removed.
FORMAT_COMPRESSED_3DC- Enumeration member was removed.
FORMAT_COMPRESSED_ATC- Enumeration member was removed.
FORMAT_COMPRESSED_ETC- Enumeration member was removed.
FORMAT_COMPRESSED_PVR- Enumeration member was removed.
USAGE_MANAGED- Enumeration member was removed.
-TYPE_2D_ARRAY Enumeration member was added.
-TYPE_CUBE_ARRAY Enumeration member was added.
-FORMAT_INTEGER Enumeration member was added.
-virtual int createCubeArray(int width, int height, int num_layers, int format, int flags) const =0 Creates Cube Array texture.
-virtual int is2DType() const =0 Returns a value indicating if the texture is 2D texture.
-virtual int is3DType() const =0 Returns a value indicating if the texture is 3D texture.
-virtual int isCubeType() const =0 Returns a value indicating if the texture is Cube texture.
-virtual int isArrayType() const =0 Returns a value indicating if the texture is Array texture.
-virtual int isRawFormat() const =0 Returns a value indicating if the texture is uncompressed.
-virtual int isUCharFormat() const =0 Returns a value indicating if the texture is stored in an unsigned char format.
-virtual int isUShortFormat() const =0 Returns a value indicating if the texture is stored in an unsigned short format.
-virtual int isHalfFormat() const =0 Returns a value indicating if the texture is stored in a half-float format.
-virtual int isFloatFormat() const =0 Returns a value indicating if the texture is stored in a float format.
-virtual int isCombinedFormat() const =0 Returns a value indicating if the texture is stored in a combined format.
-virtual int isCompressedFormat() const =0 Returns a value indicating if the texture is stored in a compressed format.
-virtual int isColorFormat() const =0 Returns a value indicating if the texture is color texture.
-virtual int isDepthFormat() const =0 Returns a value indicating if the texture is depth texture.
-virtual int getNumFaces() const =0 Returns a number of faces in the texture.
-virtual int getNumChannels() const =0 Returns the number of channels.
virtual void render2DArray(float layer, float x0, float y0, float x1, float y1) const =0virtual void render2DArray(int layer, float x0, float y0, float x1, float y1) const =0 Renders 2D Array texture.
-virtual void renderCubeArray(int face, int layer, float x0, float y0, float x1, float y1) const =0 Renders Cube Array texture.
-virtual int getGLInternalFormat() const =0 Returns OpenGL internal format.
-virtual int getGLPixelFormat() const =0 Returns OpenGL pixel format.
-virtual int getGLPixelType() const =0 Renders Cube Array texture.
virtual void * getD3D9Texture() const =0- Removed.
virtual void * getD3D9Surface2D() const =0- Removed.
virtual void * getD3D9SurfaceCube() const =0- Removed.
Last update: 2017-07-03
Build: ()