MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / createTexture2DMS

Method createTexture2DMS

Source/Falcor/Core/API/Device.cpp:864–876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864ref<Texture> Device::createTexture2DMS(
865 uint32_t width,
866 uint32_t height,
867 ResourceFormat format,
868 uint32_t sampleCount,
869 uint32_t arraySize,
870 ResourceBindFlags bindFlags
871)
872{
873 return make_ref<Texture>(
874 ref<Device>(this), Resource::Type::Texture2DMultisample, format, width, height, 1, arraySize, 1, sampleCount, bindFlags, nullptr
875 );
876}
877
878ref<Texture> Device::createTextureFromResource(
879 gfx::ITextureResource* pResource,

Callers 3

createResourceForPassFunction · 0.80
createTexture2DFunction · 0.80
onLoadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected