Blender V5.0
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 187 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 192 of file workbench_private.hh.

Referenced by MaterialTexture(), and MaterialTexture().

◆ gpu

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

Definition at line 189 of file workbench_private.hh.

Referenced by MaterialTexture(), and MaterialTexture().

◆ name

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

Definition at line 188 of file workbench_private.hh.

Referenced by MaterialTexture(), and MaterialTexture().

◆ premultiplied

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

Definition at line 191 of file workbench_private.hh.

Referenced by MaterialTexture(), and MaterialTexture().

◆ sampler_state

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

Definition at line 190 of file workbench_private.hh.

Referenced by MaterialTexture().


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