summaryrefslogblamecommitdiff
path: root/hw6/include/sceneIO_texture.h
blob: ac0fef062d48410c24ebacb05e37f313c212645f (plain) (tree)




















                                                                                                                                     
/******************************************************************/
/* This file is part of the homework assignments for CSCI-427/527 */
/* at The College of William & Mary and authored by Pieter Peers. */
/* No part of this file, whether altered or in original form, can */
/* be distributed or used outside the context of CSCI-427/527     */
/* without consent of either the College of William & Mary or     */
/* Pieter Peers.                                                  */
/******************************************************************/
#ifndef _SCENEIO_TEXTURE_H_
#define _SCENEIO_TEXTURE_H_

#include <string>
#include <memory>

#include "sceneIO_xml.h"
#include "sceneIO_cache.h"
#include "texture_base.h"

std::shared_ptr<texture_base> importTexture(const XMLNode& node, nodeCache<texture_base>& texture_cache, const std::string& rootDir);

#endif /* _SCENEIO_TEXTURE_H_ */