Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | Friends | List of all members
OvRendering::Resources::Texture Class Reference

#include <Texture.h>

Public Member Functions

void Bind (uint32_t p_slot=0) const
void Unbind () const

Public Attributes

const uint32_t id
const uint32_t width
const uint32_t height
const uint32_t bitsPerPixel
const Settings::ETextureFilteringMode firstFilter
const Settings::ETextureFilteringMode secondFilter
const std::string path
const bool isMimapped


class Loaders::TextureLoader

Detailed Description

OpenGL texture wrapper

Member Function Documentation

◆ Bind()

void OvRendering::Resources::Texture::Bind ( uint32_t  p_slot = 0) const

Bind the texture to the given slot

p_slot@project: Overload
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ Unbind()

void OvRendering::Resources::Texture::Unbind ( ) const

Unbind the texture

Friends And Related Function Documentation

◆ Loaders::TextureLoader

friend class Loaders::TextureLoader

Member Data Documentation

◆ bitsPerPixel

const uint32_t OvRendering::Resources::Texture::bitsPerPixel

◆ firstFilter

const Settings::ETextureFilteringMode OvRendering::Resources::Texture::firstFilter

◆ height

const uint32_t OvRendering::Resources::Texture::height

◆ id

const uint32_t OvRendering::Resources::Texture::id

◆ isMimapped

const bool OvRendering::Resources::Texture::isMimapped

◆ path

const std::string OvRendering::Resources::Texture::path

◆ secondFilter

const Settings::ETextureFilteringMode OvRendering::Resources::Texture::secondFilter

◆ width

const uint32_t OvRendering::Resources::Texture::width

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