API Documentation
|
Logic for creating the data in Vulkan for a specific Material. More...
#include <VulkanMaterialManager.h>
Static Public Member Functions | |
static VkDescriptorSetLayout | descriptorSetLayout (ConstPointer< VulkanDevice > device) |
static UUID | MaterialID (const Material &material) |
Protected Member Functions | |
void | createDescriptorSet (VkDescriptorPool pool, const GraphicsUpdateArguments &args) |
void | getDescriptorWrites (Buffer< VkWriteDescriptorSet, uint04, ObjectAllocator< true > > &descriptor_writes, Buffer< VkDescriptorImageInfo, uint04, ObjectAllocator< true > > &image_info) const |
uint04 | getLayerNumber (const Material &material) const |
bool | needsToUpdateImage (const Material &material) |
bool | needsToUpdateShader (const Material &material) |
void | updateImages (const Material &mat, const GraphicsUpdateArguments &args, DynamicPointer< VulkanImageManager > &image_manager) |
void | updateShader (const Material &mat, const GraphicsUpdateArguments &args, DynamicPointer< VulkanShaderManager > &shader_manager) |
Logic for creating the data in Vulkan for a specific Material.
VulkanMaterialManager | ( | const ConstPointer< VulkanDevice > & | device | ) |
|
delete |
void addMaterial | ( | const Material & | material | ) |
void checkImages | ( | ) |
void cleanup | ( | ) |
void clearMaterials | ( | ) |
void commit | ( | ) |
|
protected |
void createPipeline | ( | GraphicsUpdateArguments & | args, |
DynamicPointer< VulkanShaderManager > & | shader_manager, | ||
DynamicPointer< VulkanImageManager > & | image_manager, | ||
VkDescriptorPool | pool ) |
void createSampler | ( | const GraphicsUpdateArguments & | args | ) |
|
inline |
|
inline |
|
static |
fltp04 fadeDistance | ( | ) | const |
VulkanBitflagObject getBitflagObject | ( | ) | const |
String getColorByChannel | ( | GraphicsUpdateArguments & | args | ) | const |
|
protected |
|
inline |
ConstPointer< VulkanShader > getFragmentShader | ( | PrimitiveMode | property | ) | const |
FragUniformObject getFragUniformObject | ( | const Material & | material | ) | const |
uint04 getNumberOfImages | ( | const GraphicsUpdateArguments & | args | ) | const |
void getShaderCreateInfo | ( | PrimitiveMode | property, |
Buffer< VkPipelineShaderStageCreateInfo, uint04, ObjectAllocator< true > > & | buffer ) const |
VulkanBitflagObject getUVImageFlags | ( | const Material & | material | ) | const |
VulkanVertexUniformObject getVulkanVertexUniformObject | ( | const Material & | material, |
const GraphicsUpdateArguments & | args ) const |
|
inline |
bool hasImage | ( | ) | const |
|
inline |
UUID id | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
UUID material | ( | ) | const |
|
protected |
|
protected |
|
inline |
|
inline |
bool smoothNormals | ( | ) | const |
|
protected |
|
protected |
void updateUniformBuffer | ( | GraphicsUpdateArguments & | args | ) |
bool useLighting | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |