struct
TextureCubeBuilder
public sealed struct TextureCubeBuilder Constructors
TextureCubeBuilder() Methods
TextureCubeBuilder WithStaticUsage() TextureCubeBuilder WithSemiStaticUsage() TextureCubeBuilder WithDynamicUsage() TextureCubeBuilder WithGPUOnlyUsage() TextureCubeBuilder WithUAVBinding() TextureCubeBuilder WithMips(Int32 mips) TextureCubeBuilder WithFormat(ImageFormat format) TextureCubeBuilder WithScreenFormat() TextureCubeBuilder WithDepthFormat() TextureCubeBuilder WithMultiSample2X() TextureCubeBuilder WithMultiSample4X() TextureCubeBuilder WithMultiSample6X() TextureCubeBuilder WithMultiSample8X() TextureCubeBuilder WithMultiSample16X() TextureCubeBuilder WithScreenMultiSample() TextureCubeBuilder WithName(String name) Provide a name to identify the texture by
name — Desired texture name TextureCubeBuilder WithData(Byte[] data) Initialize texture with pre-existing texture data
data — Texture data TextureCubeBuilder WithData(Byte[] data, Int32 dataLength) Initialize texture with pre-existing texture data
data — Texture data dataLength — How big our texture data is TextureCubeBuilder WithMultisample(MultisampleAmount amount) Define which how much multisampling the current texture should use
amount — Multisampling amount TextureCubeBuilder WithAnonymous(Boolean isAnonymous) Set whether the texture is an anonymous texture or not
isAnonymous — Set if it's anonymous or not TextureCubeBuilder WithArrayCount(Int32 count) Texture Finish() Build and create the actual texture
TextureCubeBuilder WithSize(Int32 width, Int32 height) Create texture with a predefined size
width — Width in pixel height — Height in pixels TextureCubeBuilder WithSize(Vector2 size) Create texture with a predefined size
size — Width and Height in pixels TextureCubeBuilder AsRenderTarget()