Skip to content

UnityEngineRenderTexture

API reference for UnityEngineRenderTexture.

Properties

PropertyTypeAccess
anisoLevelintget, set
antiAliasingintget, set
autoGenerateMipsboolget, set
bindTextureMSboolget, set
colorBufferUnityEngineRenderBufferget
depthintget, set
depthBufferUnityEngineRenderBufferget
descriptorUnityEngineRenderTextureDescriptorget, set
dimensionUnityEngineRenderingTextureDimensionget, set
enableRandomWriteboolget, set
filterModeUnityEngineFilterModeget, set
formatUnityEngineRenderTextureFormatget, set
heightintget, set
isDataSRGBboolget
isPowerOfTwoboolget, set
isReadableboolget
mipMapBiasfloatget, set
mipmapCountintget
namestringget, set
sRGBboolget
texelSizeVector2get
updateCountuintget
useDynamicScaleboolget, set
useMipMapboolget, set
volumeDepthintget, set
vrUsageUnityEngineVRTextureUsageget, set
widthintget, set
wrapModeUnityEngineTextureWrapModeget, set
wrapModeUUnityEngineTextureWrapModeget, set
wrapModeVUnityEngineTextureWrapModeget, set
wrapModeWUnityEngineTextureWrapModeget, set

Methods

ConvertToEquirect

ConvertToEquirect(equirect: UnityEngineRenderTexture, eye: UnityEngineCameraMonoOrStereoscopicEye) -> void

Create

Create() -> bool

DiscardContents

DiscardContents(discardColor: bool, discardDepth: bool) -> void
DiscardContents() -> void

Equals

Equals(other: object) -> bool

GenerateMips

GenerateMips() -> void

GetHashCode

GetHashCode() -> int

GetInstanceID

GetInstanceID() -> int

GetType

GetType() -> SystemType

IncrementUpdateCount

IncrementUpdateCount() -> void

IsCreated

IsCreated() -> bool

new

static new(width: int, height: int, depth: int, format: UnityEngineRenderTextureFormat, mipCount: int) -> UnityEngineRenderTexture
static new(width: int, height: int, depth: int, format: UnityEngineRenderTextureFormat, readWrite: UnityEngineRenderTextureReadWrite) -> UnityEngineRenderTexture
static new(width: int, height: int, depth: int, format: UnityEngineRenderTextureFormat) -> UnityEngineRenderTexture
static new(width: int, height: int, depth: int) -> UnityEngineRenderTexture
static new(desc: UnityEngineRenderTextureDescriptor) -> UnityEngineRenderTexture
static new(textureToCopy: UnityEngineRenderTexture) -> UnityEngineRenderTexture

Release

Release() -> void

ResolveAntiAliasedSurface

ResolveAntiAliasedSurface() -> void
ResolveAntiAliasedSurface(target: UnityEngineRenderTexture) -> void

SupportsStencil

static SupportsStencil(rt: UnityEngineRenderTexture) -> bool

ToString

ToString() -> string