Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Texture Class Reference

The Texture class defines the texture image and sampling behaviour when you need to map a texture to an object. More...

#include <state.h>

Inheritance diagram for cil::Texture:
cil::State cil::Object

Public Member Functions

 Texture (int unit, std::shared_ptr< Image > image, std::shared_ptr< Sampler > sampler)
 
- Public Member Functions inherited from cil::State
 State ()
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

int unit
 
std::shared_ptr< Imageimage
 
std::shared_ptr< Samplersampler
 

Additional Inherited Members

- Protected Attributes inherited from cil::State
std::string m_className
 

Detailed Description

The Texture class defines the texture image and sampling behaviour when you need to map a texture to an object.

Constructor & Destructor Documentation

◆ Texture()

cil::Texture::Texture ( int unit,
std::shared_ptr< Image > image,
std::shared_ptr< Sampler > sampler )

Member Data Documentation

◆ image

std::shared_ptr<Image> cil::Texture::image

◆ sampler

std::shared_ptr<Sampler> cil::Texture::sampler

◆ unit

int cil::Texture::unit