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

Function NewCube

Source/Engine/Graphics/Textures/GPUTextureDescription.h:381–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 /// <param name="textureFlags">The texture flags.</param>
380 /// <returns>A new instance of <see cref="GPUTextureDescription"/> class.</returns>
381 static GPUTextureDescription NewCube(int32 size, int32 mipCount, PixelFormat format, GPUTextureFlags textureFlags = GPUTextureFlags::ShaderResource | GPUTextureFlags::RenderTarget)
382 {
383 return NewCube(size, format, textureFlags, mipCount);
384 }
385
386 /// <summary>
387 /// Creates a new Cube <see cref="GPUTextureDescription"/>.

Callers 7

RenderSkyboxMethod · 0.85
LazyInitMethod · 0.85
UpdateAllocationMethod · 0.85
NewCubeMethod · 0.85
GetDummyTextureMethod · 0.85
DrawBeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected