class
AttributeAccess
public class AttributeAccess Methods
Void Clear() Void Set(StringToken token, Single f) Void Set(StringToken token, Double f) Void Set(StringToken token, Vector2 vector2) Void Set(StringToken token, Vector3 vector3) Void Set(StringToken token, Vector4 vector4) Void Set(StringToken token, Int32 i) Void Set(StringToken token, Boolean b) Void Set(StringToken token, Matrix matrix) Void Set(StringToken token, GpuBuffer buffer) Void Set(StringToken token, Texture texture, Int32 mip = -1) Void Set(StringToken token, SamplerState samplerState) Void SetCombo(StringToken token, Int32 value) Void SetCombo(StringToken token, Boolean value) Void SetCombo(StringToken token, T t) Void SetData(StringToken token, T data) Void SetValue(StringToken token, RenderValue value) Set a special value
Void Set(StringToken token, ColorTextureRef buffer, Int32 mip = -1) Set the color texture from this named render target to this attribute
Void Set(StringToken token, DepthTextureRef buffer, Int32 mip = -1) Set the depth texture from this named render target to this attribute
Void Set(StringToken token, ColorIndexRef buffer) Set the color texture from this named render target to this attribute
Void Set(StringToken token, SizeHandle size, Boolean inverse = False) Set the size of this named render target to this float2 attribute
RenderTargetHandle GrabFrameTexture(String token = FrameTexture, Boolean withMips = False) Takes a copy of the current viewport's color texture and stores it in targetName on renderAttributes.
RenderTargetHandle GrabFrameTexture(String token, DownsampleMethod downsampleMethod) Takes a copy of the current viewport's color texture and stores it in targetName on renderAttributes.
RenderTargetHandle GrabDepthTexture(String token = DepthTexture) Takes a copy of the current viewport's depth texture and stores it in targetName on renderAttributes.
RenderTarget GetRenderTarget(String name) Get the actual render target by name. Useful for externals that need to access the render target directly.
Assembly:
Sandbox.Engine Declaring Type: CommandList Full Name: Sandbox.Rendering.CommandList.AttributeAccess