NAP
Public Member Functions | List of all members
SamplerArrayInstance Class Reference

#include <samplerinstance.h>

Public Member Functions

 SamplerArrayInstance (RenderService &renderService, const SamplerDeclaration &declaration, const Sampler *sampler, const SamplerChangedCallback &samplerChangedCallback)
 
virtual ~SamplerArrayInstance ()
 
virtual int getNumElements () const
 
- Public Member Functions inherited from SamplerInstance
 SamplerInstance (RenderService &renderService, const SamplerDeclaration &declaration, const Sampler *sampler, const SamplerChangedCallback &samplerChangedCallback)
 
virtual ~SamplerInstance ()
 
bool init (utility::ErrorState &errorState)
 
const SamplerDeclarationgetDeclaration () const
 
VkSampler getVulkanSampler () const
 

Additional Inherited Members

- Protected Member Functions inherited from SamplerInstance
void raiseChanged (int index=0)
 
- Protected Attributes inherited from SamplerInstance
RenderServicemRenderService = nullptr
 
VkSampler mVulkanSampler = VK_NULL_HANDLE
 
const SamplermSampler = nullptr
 
const SamplerDeclarationmDeclaration = nullptr
 
SamplerChangedCallback mSamplerChangedCallback
 

Description

Sampler array instance.

Inheritance diagram for SamplerArrayInstance:
[legend]
Collaboration diagram for SamplerArrayInstance:
[legend]

Constructor & Destructor Documentation

◆ SamplerArrayInstance()

SamplerArrayInstance ( RenderService renderService,
const SamplerDeclaration declaration,
const Sampler sampler,
const SamplerChangedCallback samplerChangedCallback 
)

◆ ~SamplerArrayInstance()

virtual ~SamplerArrayInstance ( )
virtual

Member Function Documentation

◆ getNumElements()

virtual int getNumElements ( ) const
virtual
Returns
total number of textures that can be assigned