MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / PixelsImageGenerator

Method PixelsImageGenerator

samples/utils/utils.cpp:908–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906 }
907
908 PixelsImageGenerator::PixelsImageGenerator( vk::Extent2D const & extent, size_t channels, unsigned char const * pixels )
909 : m_extent( extent ), m_channels( channels ), m_pixels( pixels )
910 {
911 assert( m_channels == 4 );
912 }
913
914 void PixelsImageGenerator::operator()( void * data, vk::Extent2D const & extent ) const
915 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected