Blender V4.3
blender::workbench::MaterialTexture Struct Reference

#include <workbench_private.hh>

Public Member Functions

 MaterialTexture ()=default
 
 MaterialTexture (Object *ob, int material_index)
 
 MaterialTexture (::Image *image, ImageUser *user=nullptr)
 

Public Attributes

const char * name = nullptr
 
ImageGPUTextures gpu = {}
 
GPUSamplerState sampler_state = GPUSamplerState::default_sampler()
 
bool premultiplied = false
 
bool alpha_cutoff = false
 

Detailed Description

Definition at line 183 of file workbench_private.hh.

Constructor & Destructor Documentation

◆ MaterialTexture() [1/3]

blender::workbench::MaterialTexture::MaterialTexture ( )
default

◆ MaterialTexture() [2/3]

◆ MaterialTexture() [3/3]

blender::workbench::MaterialTexture::MaterialTexture ( ::Image * image,
ImageUser * user = nullptr )

Member Data Documentation

◆ alpha_cutoff

bool blender::workbench::MaterialTexture::alpha_cutoff = false

Definition at line 188 of file workbench_private.hh.

◆ gpu

ImageGPUTextures blender::workbench::MaterialTexture::gpu = {}

◆ name

const char* blender::workbench::MaterialTexture::name = nullptr

Definition at line 184 of file workbench_private.hh.

Referenced by blender::workbench::SceneResources::init().

◆ premultiplied

bool blender::workbench::MaterialTexture::premultiplied = false

Definition at line 187 of file workbench_private.hh.

◆ sampler_state

GPUSamplerState blender::workbench::MaterialTexture::sampler_state = GPUSamplerState::default_sampler()

Definition at line 186 of file workbench_private.hh.

Referenced by blender::workbench::ObjectState::ObjectState().


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