Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::Material::TextureInfo Struct Reference

#include <Material.h>

Public Attributes

Handle< Texture_ptr { INVALID_HANDLE<Texture> }
 
SamplerDescriptor _sampler {}
 
TextureOperation _operation { TextureOperation::NONE }
 
bool _srgb {false}
 
bool _useInGeometryPasses {false}
 Setting this to false will fallback to auto-usage selection (e.g. opacity tex will be used for alpha testing in shadow passes)
 

Detailed Description

Definition at line 224 of file Material.h.

Member Data Documentation

◆ _operation

TextureOperation Divide::Material::TextureInfo::_operation { TextureOperation::NONE }

Definition at line 228 of file Material.h.

◆ _ptr

Handle<Texture> Divide::Material::TextureInfo::_ptr { INVALID_HANDLE<Texture> }

Definition at line 226 of file Material.h.

◆ _sampler

SamplerDescriptor Divide::Material::TextureInfo::_sampler {}

Definition at line 227 of file Material.h.

◆ _srgb

bool Divide::Material::TextureInfo::_srgb {false}

Definition at line 229 of file Material.h.

◆ _useInGeometryPasses

bool Divide::Material::TextureInfo::_useInGeometryPasses {false}

Setting this to false will fallback to auto-usage selection (e.g. opacity tex will be used for alpha testing in shadow passes)

Definition at line 230 of file Material.h.


The documentation for this struct was generated from the following file: