Class RenderModelTextureMap

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class RenderModelTextureMap
    extends Struct
    implements NativeResource
    A texture map for use on a render model.

    Member documentation

    • unHeight – width and height of the texture map in pixels
    • rubTextureMapData – Map texture data. All textures are RGBA with 8 bits per channel per pixel. Data size is width * height * 4ub

    Layout

    
     struct RenderModel_TextureMap_t {
         uint16_t unWidth;
         uint16_t unHeight;
         uint8_t const * rubTextureMapData;
     }