MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IsCubeMap

Function IsCubeMap

Source/Engine/Graphics/Textures/GPUTexture.h:248–251  ·  view source on GitHub ↗

Gets a value indicating whether this instance is a cubemap texture.

Source from the content-addressed store, hash-verified

246 /// Gets a value indicating whether this instance is a cubemap texture.
247 /// </summary>
248 FORCE_INLINE bool IsCubeMap() const
249 {
250 return _desc.Dimensions == TextureDimensions::CubeTexture;
251 }
252
253 /// <summary>
254 /// Gets a value indicating whether this instance is a volume texture.

Callers 10

UpdateAllocationMethod · 0.70
GetResourceTypeMethod · 0.70
OnInitMethod · 0.50
initHandlesMethod · 0.50
OnResidentMipsChangedMethod · 0.50
OnResidentMipsChangedMethod · 0.50
initHandlesMethod · 0.50
OnInitMethod · 0.50
OnResidentMipsChangedMethod · 0.50
initHandlesMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected