MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / cgpu_free_sampler

Function cgpu_free_sampler

modules/engine/graphics/src/common/cgpu.c:1134–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132}
1133
1134void cgpu_free_sampler(CGPUSamplerId sampler)
1135{
1136 SkrCZoneN(zz, "CGPUFreeSampler", 1);
1137
1138 cgpu_assert(sampler != CGPU_NULLPTR && "fatal: call on NULL sampler!");
1139 const CGPUDeviceId device = sampler->device;
1140 cgpu_assert(device != CGPU_NULLPTR && "fatal: call on NULL device!");
1141
1142 CGPUProcFreeSampler fn_free_sampler = device->proc_table_cache->free_sampler;
1143 cgpu_assert(fn_free_sampler && "free_sampler Proc Missing!");
1144 fn_free_sampler(sampler);
1145
1146 SkrCZoneEnd(zz);
1147}
1148
1149CGPUTextureViewId cgpu_create_texture_view(CGPUDeviceId device, const struct CGPUTextureViewDescriptor* desc)
1150{

Callers 11

finalizeMethod · 0.85
UnloadMethod · 0.85
shutdownMethod · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeFunction · 0.85
finalizeMethod · 0.85
finalizeMethod · 0.85
finalizeFunction · 0.85
finalizeMethod · 0.85
finalizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected