Assignments
Assignments
Ray::Texture Class Reference

#include <scene.h>

Public Member Functions

void initOpenGL (void)
 

Private Attributes

friend Scene
 
friend Material
 
std::string _filename
 
Image::Image32 _image
 
GLuint _openGLHandle
 

Detailed Description

This class stores information about a texture used for texture mapping shapes

Member Function Documentation

◆ initOpenGL()

void Texture::initOpenGL ( void  )

This method sets up the OpenGL texture

Member Data Documentation

◆ _filename

std::string Ray::Texture::_filename
private

The name of the texture file

◆ _image

Image::Image32 Ray::Texture::_image
private

The image used as a texture

◆ _openGLHandle

GLuint Ray::Texture::_openGLHandle
private

The texture handle for OpenGL rendering

◆ Material

friend Ray::Texture::Material
private

◆ Scene

friend Ray::Texture::Scene
private

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