s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
TextureCubeBuilder
chevron_left Classes
struct
TextureCubeBuilder

Constructors

functionsTextureCubeBuilder

Methods

functionsAsRenderTargetfunctionsFinishfunctionsWithAnonymousfunctionsWithArrayCountfunctionsWithDatafunctionsWithDepthFormatfunctionsWithDynamicUsagefunctionsWithFormatfunctionsWithGPUOnlyUsagefunctionsWithMipsfunctionsWithMultisamplefunctionsWithMultiSample16XfunctionsWithMultiSample2XfunctionsWithMultiSample4XfunctionsWithMultiSample6XfunctionsWithMultiSample8XfunctionsWithNamefunctionsWithScreenFormatfunctionsWithScreenMultiSamplefunctionsWithSemiStaticUsagefunctionsWithSizefunctionsWithStaticUsagefunctionsWithUAVBinding
TextureCubeBuilder
Configures and creates a cubemap texture.
struct Sandbox .
sealedSandbox.Engine

build Constructors 1

TextureCubeBuilder ()

functions Methods 23

AsRenderTarget ()
TextureCubeBuilder
Finish ()
Texture
Build and create the actual texture
WithAnonymous (isAnonymous)
TextureCubeBuilder
Set whether the texture is an anonymous texture or not
WithArrayCount (count)
TextureCubeBuilder
WithData (data)
TextureCubeBuilder
Initialize texture with pre-existing texture data
WithDepthFormat ()
TextureCubeBuilder
WithDynamicUsage ()
TextureCubeBuilder
WithFormat (format)
TextureCubeBuilder
WithGPUOnlyUsage ()
TextureCubeBuilder
WithMips (mips)
TextureCubeBuilder
WithMultisample (amount)
TextureCubeBuilder
Define which how much multisampling the current texture should use
WithMultiSample16X ()
TextureCubeBuilder
WithMultiSample2X ()
TextureCubeBuilder
WithMultiSample4X ()
TextureCubeBuilder
WithMultiSample6X ()
TextureCubeBuilder
WithMultiSample8X ()
TextureCubeBuilder
WithName (name)
TextureCubeBuilder
Provide a name to identify the texture by, allowing it to be retrieved with Sandbox.Texture.Load(System.String,System.Boolean).
WithScreenFormat ()
TextureCubeBuilder
WithScreenMultiSample ()
TextureCubeBuilder
WithSemiStaticUsage ()
TextureCubeBuilder
WithSize (width, height)
TextureCubeBuilder
Create texture with a predefined size
WithStaticUsage ()
TextureCubeBuilder
WithUAVBinding ()
TextureCubeBuilder
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter