robot_2Generated
code_blocksInput

Description

The BC7 field is a member of the Editor.ShaderGraph.TextureFormat enumeration. It represents a specific texture compression format used in shader graph editing within the s&box game engine. The BC7 format is known for its high-quality compression, making it suitable for textures that require a balance between quality and file size.

Usage

Use the BC7 format when you need to apply a high-quality texture compression in your shader graph. This format is particularly useful for complex textures where maintaining visual fidelity is important, such as in detailed surface materials or high-resolution textures.

Example

// Example of using the BC7 texture format in a shader graph
TextureFormat textureFormat = TextureFormat.BC7;

// Use the texture format in a shader graph setup
ShaderGraph myShaderGraph = new ShaderGraph();
myShaderGraph.SetTextureFormat(textureFormat);

// Further operations with the shader graph
// ...