Cumulia Illustrator Rendering Engine v2.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, const ImagePtr &image, const SamplerPtr &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
 
ImagePtr image
 
SamplerPtr sampler
 

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,
const ImagePtr & image,
const SamplerPtr & sampler )

Member Data Documentation

◆ image

ImagePtr cil::Texture::image

◆ sampler

SamplerPtr cil::Texture::sampler

◆ unit

int cil::Texture::unit