HatchitGraphics
Public Member Functions | List of all members
Hatchit::Graphics::Vulkan::VKMaterial Class Reference
Inheritance diagram for Hatchit::Graphics::Vulkan::VKMaterial:
Hatchit::Graphics::MaterialBase

Public Member Functions

bool Initialize (Resource::MaterialHandle handle, const VkDevice &device, const VkDescriptorPool &descriptorPool)
 
bool VBindTexture (std::string name, TextureHandle texture) override
 
bool VUnbindTexture (std::string name, TextureHandle texture) override
 
bool VUpdate () override
 
const void BindMaterial (const VkCommandBuffer &commandBuffer, const VkPipelineLayout &pipelineLayout) const
 
PipelineHandle const VGetPipeline () const override
 
const VKPipelineGetVKPipeline () const
 
- Public Member Functions inherited from Hatchit::Graphics::MaterialBase
bool SetInt (size_t chunk, size_t offset, int data)
 Sets an integer that should be sent to the Material's pipeline when the material is bound. More...
 
bool SetFloat (size_t chunk, size_t offset, float data)
 Sets a float that should be sent to the Material's pipeline when the material is bound. More...
 
bool SetFloat3 (size_t chunk, size_t offset, Math::Vector3 data)
 Sets a Float3/Math::Vector3 that should be sent to the Material's pipeline when the material is bound. More...
 
bool SetFloat4 (size_t chunk, size_t offset, Math::Vector4 data)
 Sets a Float4/Math::Vector4 that should be sent to the Material's pipeline when the material is bound. More...
 
bool SetMatrix4 (size_t chunk, size_t offset, Math::Matrix4 data)
 Sets a Float16/Math::Vector4 that should be sent to the Material's pipeline when the material is bound. More...
 

Additional Inherited Members

- Protected Attributes inherited from Hatchit::Graphics::MaterialBase
std::vector< Core::Handle< RenderPass > > m_renderPasses
 
std::vector< LayoutLocationm_shaderVariableLocations
 
std::vector< ShaderVariableChunk * > m_shaderVariables
 

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